- Spacegray Ocean Dark: Default
- Spacegray Light: If I'm outside
- .zshrc: Zsh config file
- .vimrc: Vim config file
- .tmux.conf: Tmux config file
- Preferences.sublime-settings: Sublime config
<?php | |
namespace Acme\DemoBundle\Features\Context; | |
use Behat\BehatBundle\Context\BehatContext, | |
Behat\Behat\Context\TranslatedContextInterface, | |
Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode, | |
Behat\Gherkin\Node\TableNode; |
<?php | |
use Guzzle\Common\Event; | |
use Guzzle\Http\Message\Header; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
class ForceCharsetPlugin implements EventSubscriberInterface | |
{ | |
private $forcedCharset = 'utf8'; |
<?php | |
// put array in here | |
$array = array ( | |
'key' => 'group_54624ad06f391', | |
'title' => 'Company List', | |
'fields' => array ( | |
array ( | |
'key' => 'field_54624aff43237', | |
'label' => 'Companies', |
#!/bin/sh | |
# It seems it's very hard to set resample output quality with Ghostscript. | |
# So instead rely on `prepress` preset parameter to select a good /QFactor | |
# and override the options we don't want from there. | |
gs \ | |
-o resampled.pdf \ | |
-sDEVICE=pdfwrite \ | |
-dPDFSETTINGS=/prepress \ |
require 'sidekiq/api' | |
# 1. Clear retry set | |
Sidekiq::RetrySet.new.clear | |
# 2. Clear scheduled jobs | |
Sidekiq::ScheduledSet.new.clear |
var fs = require('fs'); | |
var request = require('request'); | |
var EventEmitter = require('events').EventEmitter; | |
var mime = require('mime'); | |
var util = require('util'); | |
function resumableUpload() { | |
this.byteCount = 0; //init variables | |
this.tokens = {}; | |
this.filepath = ''; |
# The following comments fill some of the gaps in Solargraph's understanding of | |
# Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
# ignored at runtime. | |
# | |
# You can put this file anywhere in the project, as long as it gets included in | |
# the workspace maps. It's recommended that you keep it in a standalone file | |
# instead of pasting it into an existing one. | |
# | |
# @!parse | |
# class ActionController::Base |
# used different forum posts/guides to figure this out like: | |
# The uninstall script is located at /Library/Parallels/Parallels Service.app/Contents/Resources | |
# https://github.com/danijeljw/remparallels/blob/master/remprls.sh | |
# https://kb.parallels.com/122461 | |
# sudo find / -iname "*parallels*" | |
# sudo find / -iname "*prl*" | |
#before uninstalling deactivate your licencse - this won't be possible after uninstall | |
prlsrvctl deactivate-license |