add the following to build.sbt
TaskKey[String]("cp") <<= (externalDependencyClasspath in Runtime) map (_.files.absString)
run show cp
in sbt
#include <stdio.h> | |
int main() { | |
printf("%s\n", (char[]) {0b01101001, 0b00100000, 0b01101100, 0b01101111, 0b01110110, 0b01100101, 0b00100000, 0b01111001, 0b01101111, 0b01110101, '\0'}); | |
} |
// add libReact.a | |
// import | |
#import "RCTAsyncLocalStorage.h" | |
// code | |
RCTAsyncLocalStorage *asyncLocalStorage = [[RCTAsyncLocalStorage alloc] init]; | |
dispatch_async([asyncLocalStorage methodQueue], ^{ | |
[asyncLocalStorage multiGetKeys:@[@"widget_city"] callback:^(NSArray *response){ |
<input type="number"> | |
<p></p> | |
<script type="text/javascript"> | |
var p = document.querySelector('p') | |
var i = document.querySelector('input') | |
i.oninput = function () { | |
p.textContent = this.value | |
} | |
</script> |
conda update conda | |
conda update anaconda |
add the following to build.sbt
TaskKey[String]("cp") <<= (externalDependencyClasspath in Runtime) map (_.files.absString)
run show cp
in sbt
jdb: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jdb.html
javap: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javap.html
# compile
scalac -g:vars [source]
# run and it should ouput a port
env JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n" scala [class]
x.org openbox | |
SLiM # not very needed | |
sudo apt-get install tinyos-tools | |
# also installs tinyos-source | |
sudo apt-get install gcc-msp430 | |
cp -r tinyos-2.x/support/make/genomote* . |
import com.sun.net.httpserver._ | |
import java.net._ | |
val server = HttpServer.create(new InetSocketAddress(8000), 0) | |
server.createContext("/", new HttpHandler { | |
def handle(exchange: HttpExchange) { | |
exchange.sendResponseHeaders(200, 0) | |
exchange.getResponseBody.write("hello".getBytes) | |
exchange.getResponseBody.close() |
$pdf_previewer = "open -a Skim" |
Copy & paste the following to your Gemfile
def bitbucket repo; {git: 'ssh://git@bitbucket.org/'+repo} ;end
Usage
gem 'xxx', github('user/repo')