Skip to content

Instantly share code, notes, and snippets.

View Der-Eddy's full-sized avatar

Eduard Der-Eddy

View GitHub Profile
@endolith
endolith / Has weird right-to-left characters.txt
Last active June 1, 2024 10:58
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@cowboy
cowboy / github_post_recieve.php
Created October 11, 2010 02:04
GitHub PHP webhook to auto-pull on repo push
<?php
// Use in the "Post-Receive URLs" section of your GitHub repo.
if ( $_POST['payload'] ) {
shell_exec( 'cd /srv/www/git-repo/ && git reset --hard HEAD && git pull' );
}
?>hi
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@agnoster
agnoster / README.md
Last active April 6, 2024 22:35
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

-480p - Run tenfoot in 480p rather than 1080p
-720p - Run tenfoot in 720p rather than 1080p
-accesscode -
-all_languages - show longest loc string from any language
-bigpicture - Start in Steam Big Picture mode
-blefw -
-cafeapplaunch - Launch apps in a cyber cafe context
-candidates - Show libjingle candidates for local connection as they are processed
-ccsyntax - Spew details about the localized strings we load
-cef-delaypageload - Enable early-out for known page loads
@waylaidwanderer
waylaidwanderer / SteamBroadcastChatCleaner.user.js
Last active January 14, 2018 10:15
Steam Broadcast Chat Cleaner - cleans up the chat of any Steam Broadcast, massively increasing the conversation quality. Works on Dota 2's Watch page as well. Requires Greasemonkey (Firefox) or Tampermonkey (Chrome). Screenshots: http://i.imgur.com/7qEfM9B.png, http://i.imgur.com/PHW4TbK.png - Click "Raw" to install.
// ==UserScript==
// @name Steam Broadcast Chat Cleaner
// @namespace http://jzhang.net/
// @version 3.1.1
// @description Cleans up Steam Broadcast chat
// @author waylaidwanderer
// @include http://steamcommunity.com/broadcast/watch/*
// @require //code.jquery.com/jquery-1.11.3.min.js
// @downloadURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js
// @updateURL https://gist.github.com/waylaidwanderer/6bb095e0731ef41d49dc/raw/SteamBroadcastChatCleaner.user.js
@Der-Eddy
Der-Eddy / ASCII Smilies.txt
Last active November 26, 2017 02:27
ASCII Smilies
( ͡° ͜ʖ ͡°)
( ͡ ͡° ͜ ʖ ͡ ͡°)
( ͠° ͟ʖ ͡°)
( ͡ ͡° ͜ʖ ͡ ͡°)
( ͡°╭͜ʖ╮͡°)
¯\_(ツ)_/¯
°ω°
°‿‿°
(・ω・)b
(・ω・)ノ
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active July 1, 2024 09:24
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/