Skip to content

Instantly share code, notes, and snippets.

View imSrbh's full-sized avatar
💻
https://sourcerer.io/imsrbh

Saurabh Kumar Singh imSrbh

💻
https://sourcerer.io/imsrbh
View GitHub Profile
<!DOCTYPE html>
<html>
<body background="b.jpg">
<head>
<meta charset="utf-8">
<style>
body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const React = require('react');
const CompLibrary = require('../../core/CompLibrary.js');
/*
* helloglib.c
* Using glib libraries to do a hello world
* Compile with:
* gcc helloglib.c `pkg-config --cflags --libs glib-2.0` -o helloglib
*/
#include <glib.h>
int
main (void)
//ex‑compile.c
#include <glib.h>
int main(int argc, char∗∗ argv) {
GList∗ list = NULL;
list = g_list_append(list, "Hello world!");
printf("The first item is '%s'\n", g_list_first(list)‑>data);
return 0;
}
#!/bin/sh
#python3 /srv/src/bootstrap/bootstrap.py --admin admin:password
echo "Enter Admin name?"
read name
read -s -p "Enter Password: " pswd
python3 /srv/src/bootstrap/bootstrap.py --admin $name:$pswd
1718 adb tcpip 5555
1719 adb connect 192.168.0.102:5555
1720 scrcpy
#include <stdio.h>
// For the CUDA runtime routines (prefixed with "cuda_")
#include <cuda_runtime.h>
#include <helper_cuda.h>
/**
* CUDA Kernel Device code
*
* Computes the vector addition of A and B into C. The 3 vectors have the same