Log into server
ssh root@zeta.sico.dev -p 22000
Navigate to folder
# Delete a task from a project in the database with blitzdb | |
# (Snippet, Other classes defined above) | |
def remove_task(self, title_or_id): | |
# This is what i want to do: | |
project = self.backend.filter(Project, {'title': 'some_project'}) | |
task = project.filter(Task, {'title': 'some_task'}) | |
self.backend.delete(task) |
def parse_args(args=None): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-v', '--version', dest='version', action="store_true", help="prints version information and exits") | |
parser.add_argument('-ls', dest='ls', action="store_true", help="displays accessible journals") | |
composing = parser.add_argument_group('Composing', 'To write an entry simply write it on the command line, e.g. "jrnl yesterday at 1pm: Went to the gym."') | |
composing.add_argument('text', metavar='', nargs="*") | |
reading = parser.add_argument_group('Reading', 'Specifying either of these parameters will display posts of your journal') | |
reading.add_argument('-from', dest='start_date', metavar="DATE", help='View entries after this date') |
[INFO] Compiling 63 source files to /usr/local/src/hadoop-2.6.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/test-classes | |
[INFO] ------------------------------------------------------------- | |
[ERROR] COMPILATION ERROR : | |
[INFO] ------------------------------------------------------------- | |
[ERROR] /usr/local/src/hadoop-2.6.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesApps.java:[76,36] error: package com.sun.jersey.test.framework does not exist | |
[ERROR] /usr/local/src/hadoop-2.6.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServicesApps.java:[77,36] error: package com.sun.jersey.test.framework does not exist | |
[ERROR] /usr/local/src/hadoop-2.6.0-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/t |
[ryanplyler@rmbp mcp]$ ./recompile.sh | |
== MCP 9.30 (data: 9.31, client: 1.10, server: 1.10) == | |
# found ff, ff patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config, scalac, rg, ss | |
== Recompiling client == | |
> Cleaning bin | |
> Recompiling | |
- Done in 21.14 seconds | |
!! Can not find server sources, try decompiling !! | |
[ryanplyler@rmbp mcp]$ ./startclient.sh | |
== MCP 9.30 (data: 9.31, client: 1.10, server: 1.10) == |
#include <WiFi.h> | |
WiFiServer server(80); | |
const int LED_PIN = 13; | |
void setup() | |
{ | |
initHardware(); | |
setupWiFi(); |
class Parent: | |
def __init__(self, name): | |
self.name = name | |
self.safe_open = False | |
self.armed = False | |
self.children = [] | |
def teach_children(self, topic): | |
for child in self.children: |
function test() { | |
var startTime = new Date().getTime(); | |
var counter = 0; | |
for(var i = 0; i < 10000000; i++) { | |
counter += 1 | |
} | |
var endTime = new Date().getTime(); | |
console.log("Total test time:", endTime - startTime, "ms"); |
#include <stdio.h> | |
#include <unistd.h> | |
#include <netdb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#define PORT 8080 |