Ctrl + Alt + Space
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| r"""vimanim - make animated GIFs out of vim commands! | |
| Usage: | |
| vimanim <code> <output.gif> [<input>] [options] | |
| <code> should contain the exact bytes to feed to vim. | |
| This means: raw newlines for <Enter>, raw \x1b bytes for <Esc>, etc. | |
| Some UTF-8 codepoints have special meaning, though: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #---------------GitHub Pages + Namecheap Domain + SSL Cheat Sheet------------# | |
| NOTE: You do NOT need to buy PositiveSSL from Namecheap. | |
| GitHub Pages provides free SSL automatically via Let's Encrypt. | |
| # Namecheap Domain Setup | |
| Buy Domain | |
| Go to namecheap.com, select and buy domain name. | |
| Navigate to DNS Settings | |
| Login to Namecheap → Username dropdown → Dashboard |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Assuming you llvm installed (comes as standard on Mac OS Mavrick xtools)
Create a helloworld.c file:
#include<stdio.h>
int main()
{
int x=3;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "redis" | |
| redis = Redis.new | |
| redis.keys("*").each do |key| | |
| val = case redis.type(key) | |
| when "string" | |
| redis.get key | |
| when "list" |
