Skip to content

Instantly share code, notes, and snippets.

@Bluscream
Bluscream / _service.md
Last active August 12, 2016 23:52 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
@Bluscream
Bluscream / steam_console_params.txt
Last active November 2, 2016 19:58 — forked from davispuh/steam_console_params.txt
Steam client parameters, consoles commands and variables
nClientBackgroundAutoUpdateTimeSpreadMinutes = "240" - Number of minutes to spread background auto-updates out over
@panorama_suggestions_view = "0" - 0 - default, 1 - no games or friends, 2 - just games no friends, 3 - some games and friends, 4 - some friends no games
app_license_request - <AppID> - Requests a free licenses for this app if not already owned.
app_uninstall - [-complete] <appId>
-dumpvideostream - Dump the game stream as an elementary video file
-installer_test - changes installing a retail game to emit all files to install_validate/ folder instead of to the steam cache
-opengl - Use the OpenGL render for the UI
-fullscreenopengl - Use the full screen OpenGL render for the UI
-tenfoot - Start in Steam Big Picture mode
-bigpicture - Start in Steam Big Picture mode
@Bluscream
Bluscream / .gitignore
Last active May 11, 2017 18:29 — forked from shtrih/EmbedAV.plugin.js
Plugin for BetterDiscord. Creates `<video>` or `<audio>` for links. Screenshot in comments
!EmbedAV.plugin.js
*.json
*.js
!EmbedAV.plugin.js
@Bluscream
Bluscream / docs.js
Created May 21, 2017 23:04 — forked from paulredmond/docs.js
Generate Atom snippet documentation from a package's CSON files
/**
* Convert cson snippets into a Markdown document for reference
*/
const cson = require('cson');
const glob = require ('glob');
const path = require('path');
const fs = require('fs');
const _ = require('lodash');
function Snippet(title, code, prefix, fileName, lang) {
@Bluscream
Bluscream / gist:35a96eac0d8dc2007b38414bb930a662
Last active December 4, 2017 13:37 — forked from nikolaplejic/gist:3654637
How to copy/paste your password in PayPal's change password form

PayPal blocks copy/paste actions in their "change password" form, citing some irrelevant security issues as the reason. That's a load of crap, and they know it -- disabling copy/paste makes it a lot harder to use a decent password generator and a lot easier to screw up your pwd when retyping, especially if it's a long one (as it should be!).

So, here's the quick'n'dirty way to use an externally generated password in your PayPal account:

We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 6 in line 1.
NAME;HEX;uint32;int32;CATEGORY;DESC;UPDATE NAME;HEX2;NAME;HEX;uint32;int32;CATEGORY;DESC;UPDATE NAME;PRICE1;PRICE2;HIGH_PRICE
BLIMP3;0xEDA4ED97;3987008919;-307958377;AFTER HOURS;EDA4ED97;BLIMP3;0xEDA4ED97;3987008919;-307958377;AFTER HOURS; 895,000 ; 1,190,350 ; 1,190,350
FREECRAWLER;0xFCC2F483;4240635011;-54332285;AFTER HOURS;FCC2F483;FREECRAWLER;0xFCC2F483;4240635011;-54332285;AFTER HOURS; 597,000 ; 597,000
MENACER;0x79DD18AE;2044532910;2044532910;AFTER HOURS;79DD18AE;MENACER;0x79DD18AE;2044532910;2044532910;AFTER HOURS; 1,775,000 ; 1,775,000
MULE4;0x73F4110E;1945374990;1945374990;AFTER HOURS;73F4110E;MULE4;0x73F4110E;1945374990;1945374990;AFTER HOURS; 72,000 ; 95,700 ; 95,700
OPPRESSOR2;0x7B54A9D3;2069146067;2069146067;AFTER HOURS;7B54A9D3;OPPRESSOR2;0x7B54A9D3;2069146067;2069146067;AFTER HOURS; 2,925,000 ; 3,890,250 ; 3,890,250
PATRIOT2;0xE6E967F8;3874056184;-420911112;AFTER HOURS;E6E967F8;PATRIOT2;0xE6E967F8;3874056184;-420911112;AFTER HOURS; 460,000 ; 611,800 ; 611,800
PBUS2;0x149BD32A;345756458;34