I hereby claim:
- I am lrdiv on github.
- I am lrdiv (https://keybase.io/lrdiv) on keybase.
- I have a public key whose fingerprint is 0742 B5C9 AA02 256B 950A A213 A26B 312C CA2E A84F
To claim this, I am signing this object:
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var app = new EmberApp({ | |
minifyCSS: { | |
enabled: true, | |
options: {} | |
}, |
(* Note: `cdnr` and `cdnem` are custom aliases for this project *) | |
tell application "iTerm" | |
(* Creates a new window for our project *) | |
set newWindow to (create window with default profile) | |
select first window | |
tell the current window | |
(* cd to rails directory and start server *) | |
activate current session |
// return [{ "name": '', "id": '' }].concat(paymentOptions.map(function(p){ return {"name": p.get('name'), "id": p.get("id")} })); | |
return paymentOptions.reduce((a, b) => a.push(b.getProperties('id', 'name')), [{"name": "", "id": ""]); | |
// OR | |
return paymentOptions.reduce(function(a, b) { | |
return a.push(b.getProperties('id', 'name')); | |
}, [{"name": "", "id": ""}]) |
<?php | |
$attachment_id = the_field('the_image'); | |
$size = 'small'; | |
$image = wp_get_attachment_image_src($attachment_id, $size); | |
?> | |
<img src="<?php echo $image[0]; ?>" /> |
<?php | |
// This function include screen.css in wp_head() function | |
function enqueue_stylesheets() { | |
wp_register_style("screen", stylesheet_url("screen"), false, false); | |
wp_enqueue_style("screen"); | |
} | |
add_action('wp_enqueue_scripts', 'enqueue_stylesheets'); |
upstream gitlab { | |
server 192.168.254.37:80; | |
} | |
server { | |
listen 0.0.0.0:80; | |
server_name gitlab.kohsrv.net; | |
location / { | |
proxy_set_header X-Real-IP $remote_addr | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
var bgImageInit = function(mobile) { | |
var bg_image = "#{image_path('application/mobile-splash-bg.jpg')}"; | |
$('#main-container').css('background', 'url(' + bg_image + ') right top no-repeat'); | |
if (mobile == true) { | |
$('#main-container').css('background-size', '70%'); | |
} | |
} | |
var mobileInit = function() { | |
var BV = new $.BigVideo({forceAutoplay:is_touch}); |
I hereby claim:
To claim this, I am signing this object:
ChosenView = Ember.Select.extend | |
didInsertElement: -> | |
@_super | |
options = | |
multiple: false | |
search_contains: true | |
options.clean_search_text = this.cleanSearchText | |
options.calling_context = this |