command | description |
---|---|
ctrl + a | Goto BEGINNING of command line |
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Returns the data type based on the base64 string | |
* @param {String} base64String | |
* @param {String} fileName | |
* @returns {String} | |
*/ | |
detectMimeType(base64String, fileName) { | |
var ext = fileName.substring(fileName.lastIndexOf(".") + 1); | |
if (ext === undefined || ext === null || ext === "") ext = "bin"; | |
ext = ext.toLowerCase(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See https://github.com/bportaluri/WiFiEsp | |
// See blog post https://medium.com/@mykeels/connect-to-wifi-with-arduino-9eee4b02d904 | |
#include <WiFiEsp.h> | |
#ifndef HAVE_HWSERIAL1 | |
#include <SoftwareSerial.h> | |
SoftwareSerial wSerial(6, 7); | |
#endif | |
void setup() { |
First identify your image.
$ docker ps --format "{{.ID}}: {{.Image}} {{.Names}}"
3d2fb2ab2ca5: jenkins-docker jenkins-docker_1
Then login into the image as root.
$ docker container exec -u 0 -it jenkins-docker_1 /bin/bash
类别 | 药品通用名 | 原研品牌 |
---|---|---|
抗生素类 | 头孢克洛 | 希刻劳 |
头孢呋辛 | 西力欣 | |
左氧氟沙星 | 可乐必妥 | |
莫西沙星 | 拜复乐 | |
阿奇霉素 | 希舒美 | |
头孢妥仑匹酯 | 美爱克 | |
抗真菌类 | 盐酸特比萘芬 | 兰美抒 |
奥美拉唑 | 洛赛克 |
OSDNでのリリースファイルやソースコードは全世界の25〜30箇所程の公開ミラーサイトへミラーリングされていた。 現時点ではどれだけ生存しているかは調べていないが、まだそれなりに生きているかと思われる。ただ、日本だとJAIST(ftp.jaist.ac.jp)とIIJ(ftp.iij.ad.jp)しかないようである。
OSDNではファイルの公開方法は二種類存在し、それぞれをファイルリリース、ファイルストレージと呼んでいた。前者は最初期からあるリリースシステムであり、後者はrsync等でも利用できる置き放題のストレージシステムである。
Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Background information: | |
# For instructions on how to set-up a Google Custom Search engine: https://stackoverflow.com/a/37084643/42346 | |
# More detail about how to specify that it search the entire web here: https://stackoverflow.com/a/11206266/42346 | |
from googleapiclient.discovery import build | |
from pprint import pprint as pp | |
import math | |
NUM_RESULTS = 25 | |
MY_SEARCH = 'why do cats chase their own tails' |
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
NewerOlder