- tech
- history | humanities
- Music | Arts
- Questlove Supreme
I hereby claim:
- I am corntoole on github.
- I am corntoole (https://keybase.io/corntoole) on keybase.
- I have a public key ASDKi3XdnpPvHIed6EMNqbmrmumKPAZlB54XvgAnqfbhnwo
To claim this, I am signing this object:
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
alps: | |
version: "1.0" | |
name: microblogging | |
doc: "The example profile here contains details on customizing any representation media type for a specific \n application domain: Micro-blogging. It contains descriptions of valid data and transition values that \n can appear within resource representations. This document is presented as a complete blueprint for \n implementing a compliant client or server that supports the basic features of the target application \n domain (Micro-blogging)." | |
# metadata | |
ext: | |
- type: metadata | |
name: title | |
value: microblogging | |
tags: "oas" |
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
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python | |
""" | |
1. Start NFS if not running | |
2. Mount device within NFS exported | |
3. For each process in list of NFS process [lockd, rpc.mountd, ..., nfsd]: | |
kill process | |
try to unmount target device | |
if umount is successful, exit loop | |
""" | |
import subprocess |
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
#ifdef _WIN32 | |
//define something for Windows (32-bit and 64-bit, this part is common) | |
#include "stdafx.h" | |
#ifdef _WIN64 | |
//define something for Windows (64-bit only) | |
#endif | |
#elif __APPLE__ | |
typedef char _TCHAR; | |
// typedef char* _TCHAR*; | |
#include "TargetConditionals.h" |
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
/(\+*1-*)*\(*\d{3}\)*-*\d{3}-*\d{4}/ |
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
var generateMarkup = function(attr) { | |
var markup = `<label for="${attr}" class="col-sm-1 control-label">${attr}</label> | |
<div class="col-sm-2"> | |
<input type="text" id="${attr}" class="form-control" ng-model='sc.form_data.${attr}' placeholder="Enter ${attr}"> | |
</div>` | |
console.log(markup); | |
} |
NewerOlder