Skip to content

Instantly share code, notes, and snippets.

View swt02026's full-sized avatar

LEE KUANTING swt02026

  • Sinopac Securities
View GitHub Profile
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class CollectGameItem : MonoBehaviour {
public GameObject button;
public int id;
// Use this for initialization
void Start () {
}
using UnityEngine;
using System.Collections;
using System.IO;
public class SceneStorer {
static readonly string FILENAME = Application.persistentDataPath+"/"+"scene";
static public void WriteToFile(int sceneID){
//TODO
#include <CL/cl.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
#include <opencv2/opencv.hpp>
#include <boost/compute.hpp>
#include <string>
#include <bitset>
using namespace std;
#include <CL/cl.hpp>
#include <iostream>
#include <vector>
#include <algorithm>
#include <opencv2/opencv.hpp>
#include <boost/compute.hpp>
#include <string>
#include <bitset>
using namespace std;
#include <iostream>
#include <iterator>
#include <algorithm>
#include <string>
using namespace std;
int main(){
for(
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>
<body>
aaaaa
<div id="selected-list" class="container">
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>
<body>
package main
import (
"fmt"
"strings"
"log"
"os"
@swt02026
swt02026 / voidpointer.c
Last active August 28, 2017 15:12
example for diff void** void*
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <memory.h>
#define IPC_PERMS 0664
#include <stdio.h>
#include <stdlib.h>
#include <printf.h>
struct widget {
size_t length;
size_t width;
};