Skip to content

Instantly share code, notes, and snippets.

@CleilsonAndrade
CleilsonAndrade / list-extensions-code.txt
Last active April 27, 2024 00:29
extensions to vscode
Listar extensões
Win:
code --list-extensions | % { "code --install-extension $_" }
code --list-extensions > vscode-extensions.list
Linux:
code --list-extensions | xargs -L 1 echo code --install-extension
@dko1905
dko1905 / void-luks-lvm-efistub.md
Last active April 27, 2024 00:28
Install Void Linux with LUKS/LVM/EFISTUB

Install Void Linux with LUKS/LVM/EFISTUB

This guide is not very thorough because if it was it would be way to long. I am using the musl version of Void Linux for this install, but it's also possible with glibc, but some parts need to changed.

Disclaimer

I am not responsible for any actions you take!

License

This document is licensed under CC BY 4.0.

@adcar
adcar / Tutorial.md
Last active April 27, 2024 00:27
Tutorial: Setup Arch Linux Arm and Kodi on a Raspberry Pi (With a host machine running Linux)

Tutorial: Set up Arch Linux Arm + Kodi on a Raspberry Pi (With a host machine running Linux)

This tutorial will show how to, step by step, setup Arch Linux Arm and configure Kodi on a Raspberry Pi 3 Model B. Your host computer must be running Linux for this tutorial.

Prerequisites:

  • Raspberry Pi 3 Model B
  • 5V 2.1A Micro-usb Power Supply
  • Micro sdcard (I'd recommend at least 16GB)
  • USB Keyboard (for initial setup)
  • HDMI Cable
  • TV or Monitor with HDMI input
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 27, 2024 00:29
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser! If you absolutely need to use browser instead of desktop app, use an extension to add the string Electron/ anywhere in your user-agent.

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@seripap
seripap / months.js
Created October 8, 2015 21:32 — forked from bgadrian/months.js
JavaScript JS month names arrays
var month= ["January","February","March","April","May","June","July",
"August","September","October","November","December"];
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"];
//used with date.getMonth()
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active April 27, 2024 00:27
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@jakirkham
jakirkham / ridge-cuml-cudf-sklearn.ipynb
Created October 9, 2019 23:51
Simple notebook using scikit-learn's GridSearch with cuML and cuDF
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikoim
mikoim / README.md
Last active April 27, 2024 00:22
[Updated! Aug 14 2020] YouTube recommended encoding settings on ffmpeg (+ libx264)

Parameters

Container: MP4

Parameter YouTube recommends setting
-movflags faststart moov atom at the front of the file (Fast Start)

Video codec: H.264

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 27, 2024 00:18
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@mort
mort / kandypot-node.js
Created November 4, 2010 13:48
Node.js + Redis pubsub + Websockets for kandypot.com.
// Really trivial. On new writes to the redis db, we push messages to a websocket channel
var sys = require("sys"), redis = require('./lib/redis-client'), ws = require("./lib/ws");
var pubsub = redis.createClient();
var clients = new Array();
ws.createServer(function (websocket) {
websocket.addListener("connect", function (resource) {
sys.debug("connect: " + resource);
client_id = resource.match(/apps\/([A-Za-z]+)\/timeline$/)[1];