Skip to content

Instantly share code, notes, and snippets.

Samuel Ondrek ondrek

Block or report user

Report or block ondrek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View file.js
export default class extends Component {
componentDidMount() {
const { router, params } = this.props
getSummary().then(({ artifacts }) => {
if (artifacts.length < 1) return router.push("/")
})
if (getOrderSecret() && !params.secretId) {
return router.push(`/order/details/${getOrderSecret()}`)
View gist:cfed37a9c34802470b154c00772e7d18
Camping Party Hostel Siofok
https://www.booking.com/hotel/hu/campinghotel-sia3fok.en-gb.html?aid=355028;sid=2f76389855266279cdb66f1d26e98094;all_sr_blocks=54004501_102346221_0_0_0%2C54004501_102346221_0_0_0%2C54004501_102346221_0_0_0%2C54004501_102346221_0_0_0;checkin=2017-08-11;checkout=2017-08-13;dest_id=-866124;dest_type=city;dist=0;group_adults=9;group_children=0;highlighted_blocks=54004501_102346221_0_0_0;hpos=1;nflt=pri%3D1%3Bfc%3D1;no_rooms=4;req_adults=9;req_children=0;room1=A%2CA;room2=A%2CA;room3=A%2CA;room4=A%2CA%2CA;sb_price_type=total;srfid=25db3ef85915aec82556a958b9c0e11d994bb033X1;type=total;ucfs=1&#hotelTmpl
Müller's Hostel
https://www.booking.com/hotel/hu/muller-39-s-hostel.en-gb.html?aid=355028;sid=2f76389855266279cdb66f1d26e98094;all_sr_blocks=119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0%2C119588106_97553412_0_0_0;check
View gist:e6ddc1280444d7661d3f93825c35306e
function getData( val ){
// return either the cached value or jqXHR object wrapped Promise
return $.when(
$.ajax('/foo/', {
data: { value: val },
dataType: 'json',
success: function( resp ){
}
View gist:510c553f80509d56e36d130c250d4bb9
([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+([][[]]+[])[+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+((+[])[([][(![]+[])[+
View gist:b3a672a4b517ccebe2de
Puzo Mario - Kmotr
Hailey Arthur - Detektiv
King Stephen - Vykoupení z věznice Shawshank
Adams Douglas - Stopařův průvodce galaxií
Lewis Clive Staples - Lev, čarodějnice a šatník
View json.json
"saving": {
"slider": {
"sentenceStart": "Převod",
"sentenceFrom": "z účtu",
"sentenceTo": "na účet",
"sentenceWithReference": "s referencí"
},
}
View docs.js
charles.login = ease.$extend.plugin([$dom, $hash]);
charles.login.$
View gist:df5a31089808f4d09472
http://sahandsaba.com/nine-anti-patterns-every-programmer-should-be-aware-of-with-examples.html
https://en.wiktionary.org/wiki/bikeshedding
http://bikeshed.com/
View pattern.js
window.$config = function(){
var Config = function(){};
var selves = [];
Config.prototype = {
get $set(){ var self={}; selves.push(self); return self; },
get $get(){ return mixin(selves); }
};
You can’t perform that action at this time.