Skip to content

Instantly share code, notes, and snippets.

@jgaydos
jgaydos / ubuntu18.04_php7.4_sqlsrv.sh
Created February 5, 2020 20:26
Ubuntu 18.04 + PHP7.4 + SQLSRV
#!/bin/bash
#ubuntu 18.04
#php7.4
# install php ppa
apt -y install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt update
@jinjier
jinjier / 250.csv
Last active March 19, 2024 04:25
JavDB Top 250 movies code list. [Updated at 2024/02]
1 LAFBD-41
2 SSNI-497
3 ABP-984
4 IPX-580
5 IPX-811
6 IPX-177
7 STARS-804
8 SMBD-115
9 ABP-968
10 ABF-017
@snail007
snail007 / vpstest
Created January 28, 2019 06:42
vpstest
#!/usr/bin/env bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
# Description: Auto test download & I/O speed script
# Thanks: LookBack <admin@dwhd.org>; Nils Steinger; Teddysun
# Toyo: https://doub.io
# H2YTech: https://minecloud.asia
# For https://VPS.BEST
RED='\033[0;31m' && GREEN='\033[0;32m' && YELLOW='\033[0;33m' && PLAIN='\033[0m'
@john24alex
john24alex / index.html
Created March 19, 2024 04:21
Scroll View
<div id="root"></div>
@tranquan
tranquan / xcode-keybindings-as-vscode.md
Last active March 19, 2024 04:14
Xcode KeyBindings as VSCode
@paul-vd
paul-vd / readme.md
Last active March 19, 2024 04:11
GPU Passthrough Fedora
@HipHopHuman
HipHopHuman / incremental-game-loop.md
Last active March 19, 2024 04:08
How to make a game loop for your idle game

How do I make a game loop for my Idle Game?

Interval-Based Resource Generators

So, you want to build an idle/incremental game in JavaScript and you’ve read on the internet that setInterval is the way to go when it comes to handling resources that automatically generate over time.

You get started, you write down your setInterval function, you set it to trigger once every 1000 milliseconds, and every time it triggers, you add 1 to the player’s total resource count. Perfect. It works.

Uh-oh.

@imba-tjd
imba-tjd / .Cloud.md
Last active March 19, 2024 04:08
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@pn11
pn11 / boost_Cpp_mac.md
Last active March 19, 2024 04:07
Mac で C++ のライブラリ boost を使う

Mac で C++ のライブラリ boost を使う

brew install boost

で 1.60.0_2 が入る。(2016/05/14)

/usr/local/Cellar/boost/1.60.0_2/include