Skip to content

Instantly share code, notes, and snippets.

@jindrichmynarz
jindrichmynarz / dub_techno_in_sonic_pi.rb
Created December 8, 2015 19:11
Dub techno in Sonic Pi
use_debug false
use_bpm 130
# Our mixer!
master = (ramp *range(0, 1, 0.01))
kick_volume = 1
bass_volume = 1
revbass_volume = 1
snare_volume = 0.5
hats_volume = 0.5
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 19:13
Complete Recent Discord Quest

Complete Recent Discord Quest

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools
  5. Go to the Console tab
  6. Paste the following code and hit enter:
let wpRequire;
@taldanzig
taldanzig / gitpushpull.md
Created January 23, 2013 06:38
Make push/pull work with a remote non-bare repository

Make push/pull work with a remote non-bare repository

Sometimes it is necessary (and desireable) to work on a git repository on multiple development machines. We want to be able to push and pull between repositories without having to use an intermediary bare repository, and for this to work symetrically in both repositories.

First clone we clone an existing repository:

git clone ssh://user@hostname:/path/to/repo

By default this will name the remote as origin, but let's assume we want to reserve that name for a master repository that commits will eventually get pushed to:

@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active April 26, 2024 19:09
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@HackJJ
HackJJ / android-permissions.json
Created March 26, 2024 20:54
Android permissions including descriptions, API level, and protection level
[
{
"Permission": "ACCEPT_HANDOVER",
"Description": "Allows a calling app to continue a call which was started in another app.",
"API Level": "API level 28",
"Protection Level": "dangerous"
},
{
"Permission": "ACCESS_BACKGROUND_LOCATION",
"Description": "Allows an app to access location in the background.",
@Kashinathpat
Kashinathpat / Connect.md
Last active April 26, 2024 19:09
Connect To XAMPP MySQL Server in your Network
  1. Make Sure your Server is in your Network

  2. On Server Get IPv4 Address, Default Gateway

  • Open Command Prompt < ipconfig /all
  • Note IPv4 Address, Default Gateway. `
  • eg.
      IPv4 Address. . . . . : 192.168.1.104(Preferred)
      Default Gateway . . . : 192.168.1.1