Skip to content

Instantly share code, notes, and snippets.

*.pbxproj -crlf -diff -merge
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.
require 'uri'
require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
<html>
<head>
<style>
img {
-webkit-box-reflect: below 4px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(white));
-webkit-border-radius: 3px;
border-radius: 3px;
border: 3px solid #666;
}
@soychicka
soychicka / less-1.1.3.js.patch
Created June 26, 2011 00:55
Slight improvement on LessCSS's handling of string interpolation in URLs
// less-1.1.3.js
// starting around line 2268
// modify the regex to handle the condition of an interpolated string
// /^(?:https?:\/\/|file:\/\/|data:\/\/|@{)?/
// /^(?:https?:\/|file:\/|data:\/)?\//
@soychicka
soychicka / Steele_dossier
Last active November 14, 2017 21:05
OCR and corrected text from Steele Dossier. (Please note any outstanding errors, if you don't mind)
COMPANY INTELLIGENCE REPORT 2016/080
[ 6.20.2016 ]
US PRESIDENTIAL ELECTION: REPUBLICAN CANDIDATE DONALD TRUMP'S ACTIVITIES IN RUSSIA AND COMPROMISING RELATIONSHIP WITH THE KREMLIN
Summary
- Russian regime has been cultivating, supporting and assisting TRUMP for at least 5 years. Aim, endorsed by PUTIN, has been to encourage splits and divisions in western alliance

Keybase proof

I hereby claim:

  • I am soychicka on github.
  • I am soychicka (https://keybase.io/soychicka) on keybase.
  • I have a public key whose fingerprint is 136C F68A 10F7 E44D 79E5 7974 836D AEEA E770 3841

To claim this, I am signing this object:

@soychicka
soychicka / cleaner_twitter_notifications.js
Last active December 29, 2018 23:42
get crap out of your twitter timeline. there'll be an extension eventually.
var toggle_a = '<li><a href="#"><span class="Icon Icon Icon--retweeted Icon--large"></span><span id="';
var toggle_b = '" class="text">hide</span></a></li>';
var hide_junk_div = $(toggle_a + 'hide_junk_button_text'+toggle_b);
var hide_rt_div = $(toggle_a + 'hidert_button_txt'+toggle_b);
(function() {
var rt = ".js-activity-retweet";
@soychicka
soychicka / assets.rb
Last active February 3, 2018 23:41
Rails 5 - allow direct requests of all assets w/o specifying in manifest. NOT scalable
#### config/initializers/assets.rb
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '1.0'
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
@soychicka
soychicka / gist:409b277bcbfe3891e0e7485fae0833fb
Last active July 25, 2018 03:07
Trump / Cohen tape #1 discourse transcription.
TRUMP: let me know what's happening, okay?
on phone
OH
OH
maybe because of this it would be better if you didn't go. you know. maybe because of THIS... for that .. one...
.... we could get rid of this, because
let fs = require('fs');
const readFile = fileInputName => fs.readFileSync(fileInputName).toString();
const safeSplit = str => (
str .
replace(/\\"/g, "__QUOTE__") .
split(/(".*?"|,)/) .
filter(function(piece) { return piece && piece !== ','; }) .
map(function(piece) { return piece.replace(/^"|"$/g, '') }) .
map(function(piece) { return piece.replace(/__QUOTE__/g, "\\\""); })