Skip to content

Instantly share code, notes, and snippets.

@edokeh
edokeh / index.js
Last active May 12, 2024 05:54
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@cirippo
cirippo / ReadMe.md
Last active May 12, 2024 05:47
Download Google Drive protected PDF without TrustedScriptURL error at higher resolution

Easy step by step guide to download view only PDF from Google Drive - no TrustedScriptURL error and better quality


  1. Open the document in Google Docs
  2. Zoom in 2 times using Ctrl and + (VERY IMPORTANT!)
  3. Open Developer Tools
  4. Hit Ctrl + R to reload the document.
  5. Scroll to the bottom of the document to load all pages.
  6. To check if all pages are loaded, go to "Network" tab, type "img" in search bar. At the bottom bar you see "xx/yyy requests", "xx" must be equal to document's pages; if not scroll up to load missing pages
  7. Go to "Console" tab
  8. Paste the updated and improved script (download_pdf.js) that avoids TrustedScriptURL error and allows better file's quality
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
@tizu69
tizu69 / GRSA.md
Last active May 12, 2024 05:46
GRSA spec (in the works)

General Railway Standards Association (GRSA) Network Specification

Until recently, the main track network was really inconsistent across the board. The GRSA is here to ensure consistency. This specification outlines the guidelines and requirements for utilizing the GRSA trains and track network. Please follow it, uwu.


To check if you're connected to the GRSA track network, either:

@ih2502mk
ih2502mk / list.md
Last active May 12, 2024 05:41
Quantopian Lectures Saved
Encoded Traversal Strings:
../
..\
..\/
%2e%2e%2f
%252e%252e%252f
%c0%ae%c0%ae%c0%af
%uff0e%uff0e%u2215
%uff0e%uff0e%u2216
@PradyumnaKrishna
PradyumnaKrishna / Commit Date.md
Last active May 12, 2024 05:35
Change Git Commit Date

Change Git Commit Date

  • Commit your git using

    git add -A
    git commit -m "commit message"
    
  • Change time or date of your latest commit

GIT_COMMITTER_DATE="Wed Sep 9 22:00 2020 +0530" git commit --amend --date="Wed Sep 9 22:00 2020 +0530"

@SorraTheOrc
SorraTheOrc / ProximityActivationManager.cs
Last active May 12, 2024 05:34
A simple optimization trick in Unity - disable/enable objects based on proximity to the player.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using System.Linq;
using System;
using WizardsCode;
namespace WizardsCode.Optimization
{
@stevekinney
stevekinney / web-performance.md
Last active May 12, 2024 05:31
Web Performance Workshop

Web Performance

Requirements

Repositories

@kyo-takano
kyo-takano / making-the-most-of-local-llms.ipynb
Last active May 12, 2024 05:27
ローカルLLMはこーやって使うの💢
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.