Autor: Gilberto Toledo
Tutorial completo: Youtube
docker network create web
# First, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list | |
# This will output a bunch of info about all of the disk drives connected to | |
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
# some number starting at 0. Now, insert your USB drive and run the command | |
# again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
diskutil list |
// The DockBuilder API is still marked as experimental, include Dear ImGui's internal header to pull the functions in: | |
#include "imgui_internal.h" | |
// [...] | |
// Beginning of main loop | |
// 1. DockBuilder functions only need to run once to take effect. | |
// This state variable will let us check for the first frame of the app. | |
static bool firstLoop = true; |
Autor: Gilberto Toledo
Tutorial completo: Youtube
docker network create web
#version 300 es | |
#ifdef GL_FRAGMENT_PRECISION_HIGH | |
precision highp float; | |
#else | |
precision mediump float; | |
#endif | |
out vec4 fragColor; | |
uniform vec2 resolution; | |
uniform vec3 orientation; |
使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:
及分年数据(存在部分重复影片,原始数据的问题):
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874
items)
Note: This script only tested in the latest version of Chrome.
run.js
)国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
<?php | |
/** | |
* Value should be an IBAN number | |
* | |
* | |
* @param string | |
* @return bool | |
*/ | |
function iban($str) | |
{ |
<?php | |
//Tiny Cache system | |
function file_cache_contents($url, $cache_time=360000) { // 60*60*5 | |
$cache_dir = __DIR__.'/cache/'; | |
$cache_file = $cache_dir.md5($url).'.cache'; | |
@mkdir($cache_dir, 0775, true); | |
// return data from cached file if file exists and not expired | |
if(file_exists($cache_file) && filemtime($cache_file)+$cache_time >= time()) { | |
return(unserialize(file_get_contents($cache_file))); | |
} |