Skip to content

Instantly share code, notes, and snippets.

@apackeer
apackeer / gist:4159268
Created November 28, 2012 05:45
Markdown Cheatsheet

This is intended as a quick reference and showcase. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page.

This cheatsheet is specifically Markdown Here's version of Github-flavored Markdown. This differs slightly in styling and syntax from what Github uses, so what you see below might vary a little from what you get in a Markdown Here email, but it should be pretty close.

Table of Contents

Headers
Emphasis
Lists
Links
Images

@LucaLanziani
LucaLanziani / encrypt.html
Last active April 14, 2025 07:45
AES encryption, equivalent implementation in python (PyCrypto) and Javascript (CryptoJS)
<html>
<head>
<script src="/javascripts/CryptoJS/rollups/aes.js"></script>
<script src="/javascripts/CryptoJS/components/mode-cfb-min.js"></script>
<script src="/javascripts/encrypt.js"></script>
</head>
<body>
</body>
</html>
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active November 17, 2025 01:17
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@franga2000
franga2000 / Ubuntu on Acer Aspire Switch 10.md
Last active November 7, 2025 20:55
Ubuntu on Acer Aspire Switch 10

Ubuntu on Acer Aspire Switch

The problem

What's the problem with this tablet? Why can't I just insert the USB and mash F12 until it boots? The tablet is made to run Windows 8.1 and Windows 8.1 only. Some absolute genius at Acer decided to put a 32-bit UEFI on a 64-bit system, which no reasonable Linux distro supports out-of-the-box.

NOTE: This guide focuses on installing Ubuntu alongside Windows. If you're trying to replace Windows, then I assume you know enough about Linux to know which parts to change.

What works:

  • Keyboard
@roe3p
roe3p / mdlGen_Functions.vb
Last active March 23, 2023 04:54
Assortment of Excel VBA UDFs
'Module containing generic functions. Any requisite functions/variables are now annotated
'in the routine header, allowing this module to be swapped out more easily
'
' (c) R Shenoy 30/07/2013
'
' Last Updated 16/11/2018
Option Explicit
'Used for function that gets screen size
@rahilwazir
rahilwazir / vmdk_vhdx.md
Last active September 25, 2025 10:46
Convert VMWare to Hyper-V (vmdk to vhdx)
@pyRobShrk
pyRobShrk / interp2d.bas
Created November 30, 2017 23:58
Excel UDF for bilinear interpolation
Function Int2d(rowLookup As Double, colLookup As Double, lookupRange As Range) As Double
'This function performs 2 dimensional linear interpolation using built-in linear functions
'Lookup range includes column and row lookup values
Dim Row, col As Integer
Dim RowVals, ColVals, lookup As Variant
Dim sl1, sl2, sl3, int1, int2, int3, col1, col2 As Double
Row = 1
col = Row
On Error Resume Next
Row = WorksheetFunction.Match(rowLookup, lookupRange.Offset(1, 0).Columns(1), 1)
const deepCopyFunction = (inObject) => {
let outObject, value, key
if (typeof inObject !== "object" || inObject === null) {
return inObject // Return the value if inObject is not an object
}
// Create an array or object to hold the values
outObject = Array.isArray(inObject) ? [] : {}
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active November 20, 2025 12:39
Building a react native app in WSL2
@leoplan2
leoplan2 / install_apk_ish.sh
Created October 23, 2020 16:40
Install apk on iSH (App Store version)
#!/bin/bash
wget http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk
tar xf apk-tools-static-2.10.5-r1.apk sbin/apk.static
./sbin/apk.static add apk-tools
# Thanks to https://github.com/ish-app/ish/wiki/Installing-apk-on-the-App-Store-Version