scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
#pragma once | |
#include "util/types.hpp" | |
#include "util/std.hpp" | |
#include "util/ndarray.hpp" | |
#include "util/collections.hpp" | |
#include "util/rand.hpp" | |
#include "util/hash.hpp" | |
#include "util/assert.hpp" | |
#include "util/bitset.hpp" |
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
@ECHO OFF | |
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK | |
if NOT EXIST Private goto MDPrivate | |
:CONFIRM | |
echo Are you sure to lock this folder? (Y/N) | |
set/p "cho=>" | |
if %cho%==Y goto LOCK | |
if %cho%==y goto LOCK | |
if %cho%==n goto END | |
if %cho%==N goto END |
Windows command | Unix command | Notes |
---|---|---|
set | env | Set on Windows prints a list of all environment variables. For individual environment variables, set is the same as echo $ on Unix. |
set Path | export $PATH | Print the value of the environment variable using set in Windows. |
set PROJ | -- | result: PROJ=c:\project |
echo %PROJ% | echo $PROJ | result: c:\project |
|
/** | |
* WordPress dependencies | |
*/ | |
import { createPortal, useEffect, useState } from '@wordpress/element'; | |
import { registerPlugin } from '@wordpress/plugins'; | |
import { Button } from '@wordpress/components'; | |
function MyToolbarButton() { | |
// Lazy and one time initializations, also gives us a stable reference. | |
const [ container ] = useState( () => { |
Where does SwiftData store things on the Mac?
On iOS, this directory is in the app's own storage location (app_UUID/Library/Application Support) but, on the Mac, it's a shared location in the user's Library.
By default on the Mac, SwiftData stores its model in the /~/Library/Application Support directory as default.store
. (It will also add two other files, default.store-shm
and default.store-wal
, as the model is stored as a SQLite database, and these are these additional files are part of how SQLite works.)
public async Task LogNetworkRequests(IWebDriver driver) | |
{ | |
INetwork interceptor = driver.Manage().Network; | |
interceptor.NetworkRequestSent += OnNetworkRequestSent; | |
interceptor.NetworkResponseReceived += OnNetworkResponseReceived; | |
await interceptor.StartMonitoring(); | |
driver.Url = "http://the-internet.herokuapp.com/redirect"; | |
await interceptor.StopMonitoring(); | |
} |
--- | |
- name: "Build DNS Zonefiles" | |
hosts: localhost | |
vars: | |
zones: | |
- name: "add_here.zone" | |
zonename: "add_here" | |
soa: "ns" | |
settings: | |
ttl: "2d" |
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
/* | |
Delta Compression by Glenn Fiedler. | |
This source code is placed in the public domain. | |
http://gafferongames.com/2015/03/14/the-networked-physics-data-compression-challenge/ | |
*/ | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <assert.h> | |
#include <string.h> |