Skip to content

Instantly share code, notes, and snippets.

View yuikns's full-sized avatar
🎯
Focusing

Yu yuikns

🎯
Focusing
View GitHub Profile
server {
listen 80;
# server_name brainhealth.sunlab.org;
location / {
# proxy_pass http://127.0.0.1:8000;
proxy_pass http://127.0.0.1:58000;
proxy_read_timeout 300; # Some requests take more than 30 seconds.
https://github.com/swaggo/swag

From: https://ios.gadgethacks.com/how-to/set-up-google-fi-your-iphone-0174991/

Enable SMS & MMS Messages

Now, to make sure your iPhone can send and receive regular non-iMessage text messages, you'll likely need to tweak some additional options. Open your Settings app and head to the "Cellular" menu. From here, if you're on iOS 12, tap "Cellular Data Network." If you're on iOS 11, tap "Cellular Data Options," then "Cellular Data Network."

Opening the Cellular Data Network menu on iOS 11.

Next, you'll have to manually enter a few values into the provided fields. So copy the information below exactly as it's typed (leaving the "leave blank" fields blank, obviously), then enter it into the fields on your iPhone.

class PyTrieNode(object):
def __init__(self, key="", seq=[]):
self.key = key
self.end = len(seq) == 0
self.children = {}
if len(seq) > 0:
self.children[seq[0]] = PyTrieNode(seq[0], seq[1:])
def add(self, seq):
if len(seq) == 0:
<inproceedings mdate="2012-12-10" key="conf/aaai/Zivan08">
<author>Roie Zivan</author>
<title>Anytime Local Search for Distributed Constraint Optimization.</title>
<pages>393-398</pages>
<year>2008</year>
<booktitle>AAAI</booktitle>
<crossref>conf/aaai/2008</crossref>
<url>db/conf/aaai/aaai2008.html#Zivan08</url>
<ee>http://www.aaai.org/Library/AAAI/2008/aaai08-062.php</ee>
</inproceedings>
import os
import sys
import time
from timeit import default_timer as timer
from datetime import timedelta
from os import path
base_dir = "data"
dummy_dir_small = path.join(base_dir, "small")
dummy_dir_large = path.join(base_dir, "large")
50 seconds, and 18 channels + 1 channels //
@yuikns
yuikns / solution.md
Created March 22, 2019 03:29
kernel:[1500069.375462] do_IRQ: 12.183 No irq handler for vector
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
import logging
p_dropout = 0.1

rsync

mkdir a-empty-folder
rsync -a --delete a-empty-folder/ your-target-folder/

find + xargs