Skip to content

Instantly share code, notes, and snippets.

Avatar
🛸
up in space!

Andre Teddy95

🛸
up in space!
View GitHub Profile
@Teddy95
Teddy95 / operators.swift
Last active Oct 17, 2016
Power-, Root-, Squareroot-, Increase- and Decrease-Operators for Swift
View operators.swift
/**
* Power operator
*/
precedencegroup powerPrecedence {
associativity: left
higherThan: MultiplicationPrecedence
}
infix operator ^^ : powerPrecedence
@ankurk91
ankurk91 / xdebug-mac.md
Last active Nov 29, 2021
php xDebug v3 on Ubuntu/Mac and phpStorm
View xdebug-mac.md

🪲 Install and Configure xDebug v3 on MacOS for PhpStorm 🐘

  • Assuming that you have already installed php and apache via Homebrew

  • Install xDebug php extension

pecl channel-update pecl.php.net
pecl clear-cache

pecl install xdebug
View gulp-electron.js
var childProcess = require("child_process");
var electronPath = "./node_modules/electron-prebuilt/dist/electron";
var electronParameters = ["."];
var electronProcess = null;
var electronStopping = false;
startElectron = function(){
electronProcess = childProcess.spawn(electronPath, electronParameters);
@vitorbritto
vitorbritto / rm_mysql.md
Last active Dec 4, 2021
Remove MySQL completely from Mac OSX
View rm_mysql.md

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
    
@rxaviers
rxaviers / gist:7360908
Last active Dec 6, 2021
Complete list of github markdown emoji markup
View gist:7360908

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@nicerobot
nicerobot / README.md
Last active Dec 4, 2021
Mac OS X uninstall script for packaged install of node.js from https://stackoverflow.com/a/9287292/23056
View README.md

To run this, you can try:

curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
@endolith
endolith / Has weird right-to-left characters.txt
Last active Dec 1, 2021
Unicode kaomoji smileys emoticons emoji
View Has weird right-to-left characters.txt
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶