Skip to content

Instantly share code, notes, and snippets.

@SivaTeja-mountblue
SivaTeja-mountblue / Athikari_Siva_Teja_CLI_Drills_II_1
Last active May 1, 2024 19:47
Athikari_Siva_Teja_CLI_Drills_II
siva@siva-IdeaPad-3-14ITL6:~$ mkdir drill2
siva@siva-IdeaPad-3-14ITL6:~$ cd drill2
siva@siva-IdeaPad-3-14ITL6:~/drill2$ wget https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
--2022-03-02 14:44:55-- https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8000::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1140643 (1.1M) [text/plain]
Saving to: ‘Harry Potter and the Goblet of Fire.txt’
@simonista
simonista / .vimrc
Last active May 1, 2024 19:47
A basic .vimrc file that will serve as a good template on which to build.
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@mau21mau
mau21mau / README.md
Last active May 1, 2024 19:47
Configure Celery + Supervisor With Django
@mattbell87
mattbell87 / remote-wsl.md
Last active May 1, 2024 19:46
VSCode Remote: Connect to WSL2 from another machine

VSCode Remote: Connect to WSL2 from another machine

Do you want to do remote development on your WSL2 container in Visual Studio Code? Read this.

Proxy jump method

  1. On the host set up OpenSSH for Windows
  2. Run wsl --update to make sure you are running the latest WSL
  3. Open WSL and install another SSH server inside WSL with sudo apt-get install openssh-server
  4. Now run sudo systemctl enable --now ssh to automatically start ssh when WSL starts.
@dvoracek-jakub
dvoracek-jakub / WP_BootstrapNavigation.php
Last active May 1, 2024 19:45
Wordpress navigation in Bootstrap style
<?php
/**
* Class for rendering Wordpress navigation in Bootstrap style
*/
namespace YourCompany\Helpers;
Class Pagination
{
@Ellivers
Ellivers / mcfunction-precompilers.md
Last active May 1, 2024 19:44
Minecraft function precompilers

Minecraft function precompilers

An attempt to make a definitive list of all (at least somewhat finished) projects that compile to MCFunction (Minecraft function) code for Minecraft: Java Edition. Each category is very roughly ordered from most to least usable/well-known. Categories and notes in parentheses may not be entirely accurate.

Modern

@schacon
schacon / better-git-branch.sh
Created January 13, 2024 18:41
Better Git Branch output
#!/bin/bash
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NO_COLOR='\033[0m'
BLUE='\033[0;34m'
YELLOW='\033[0;33m'
NO_COLOR='\033[0m'
@Klerith
Klerith / instalaciones-next.md
Last active May 1, 2024 19:42
Instalaciones recomendadas para el curso de Next.js 13 >

Tips for debugging on Linux

This page is for Chromium-specific debugging tips; learning how to run gdb is out of scope.

[TOC]

Symbolized stack trace

The sandbox can interfere with the internal symbolizer. Use --no-sandbox (but

@hayajo
hayajo / WebMarker-1.5.0.patch
Last active May 1, 2024 19:41
WebMarker 1.5.0 のパッチ
diff --git manifest.json manifest.json
index 25a6c01..0611584 100644
--- manifest.json
+++ manifest.json
@@ -1,35 +1,28 @@
-{
-"update_url":"http://clients2.google.com/service/update2/crx",
- "name": "WebMarker",
- "version": "1.5.0",
- "icons": { "16": "images/bookmark16.png",