View HW Week 1 - Francisco Cruz 3309.java
// Week 1 Homework - Francisco Cruz 3309
import java.util.*;
class Main {
public static void main(String[] args) {
/*
Q1. add-function
Write a method named add that takes in two numbers as arguments. The function should return the sum of the two numbers.
View fastcollSolve_md5colliding.py
# coding: utf-8
from os import system, execv
# +-- step4.2 [*]
# |
# +-- step3.2 +-- step4.1 [*]
# | |
# +-- step2.2 +-- step3.1 <-----+ [*]
# | |
# +-- step1.2 +-- step2.1 <-----------------+ [*]
View app.html
<template>
<h1>${message}</h1>
</template>
View 「贪吃蛇大作战」刷分脚本
import hashlib
import hmac
import base64
import requests
def data_to_string(data):
result_string = ''
dict_keys = data.keys()
sorted_dict_keys = sorted(dict_keys)
View geojson.php
<?php
class GeoJSON
{
public function __construct(string $geojson)
{
$this->_struct = json_decode($geojson);
}
public static function fromString(string $geojson)
View tcrug-2016-09.md

About myself...

how does one call a function programatically?

with call and do.call

say I have a function to add two numbers

myf <- function(x, y) x + y
View Main.java
package com.oophomeworks.hundredthreads;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
ArrayList<MyThread> list = new ArrayList<>();
MyThread t;
for (int i = 1; i <= 101; i++) {
View request-geturl.java
String uri = request.getScheme() + "://" +
request.getServerName() +
("http".equals(request.getScheme()) && request.getServerPort() == 80 || "https".equals(request.getScheme()) && request.getServerPort() == 443 ? "" : ":" + request.getServerPort() ) +
request.getRequestURI() +
(request.getQueryString() != null ? "?" + request.getQueryString() : "");