Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
Layer 2 DeFi is going to be fun!

Daksh 0xDaksh

🦄
Layer 2 DeFi is going to be fun!
View GitHub Profile
@0xDaksh
0xDaksh / .hyper.js
Created Oct 27, 2017
My HyperTerm config for ubuntu and windows!
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// Choose either "stable" for receiving highly polished,
// or "canary" for less polished but more frequent updates
updateChannel: 'stable',
View gist:f162465b9f384cf2358aa4b590fdae86
-novid -tickrate 128 -high -refresh 75 -freq 75 +exec autoexec.cfg
View gist:2961c3fa173bff4b7f74b668ce04eae1
// CSGO Starts, shows a black screen, crashes, nothing happens.
SDL video target is 'cocoa'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system supports the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
View pytorch-cifar.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View factorial.cpp
#include <iostream.h>
#include <math.h>
int main()
{
int d = 0;
int q = 1;
cout<<"enter number"<<endl;
cin>>d;
for(int a = 1; a <= d; a++) {
View factorial.cpp
#include <iostream.h>
#include <math.h>
int main()
{
int d = 0;
int q = 1;
cout<<"enter number"<<endl;
cin>>d;
for(int a = 1; a <= d; a++) {
View idler.js
var idler = require('idler'),
Obj = {
username: 'enter your username in',
password: 'enter your password in',
gameId: 440
}
idler(Obj).then((user) => {
console.log("Idling Started");
}).catch(err => {
throw err;
View app.cpp
#include <iostream> // no need of conio file
using namespace std; // using namespace of std
int main() {
return 0; // return function here
}
@0xDaksh
0xDaksh / main.cpp
Last active Jul 12, 2017
Star-Tree Reversed-Mirror-Edition :3
View main.cpp
/*
Created on July 12th 2017 : 5:30:10
Created by Daksh Miglani.
*/
// for turbo cplusplus
#include <iostream.h>
#include <conio.h>
int main() {
@0xDaksh
0xDaksh / Redirect-Traffic-Script-dak.sh
Last active May 9, 2017
Traffic Redirect Script, Redirect your traffic when user clicks back button to another url :3
View Redirect-Traffic-Script-dak.sh
var urlToSend = 'https://dak.sh'; // change this shit :3
jQuery(document).ready(function($) {
if (window.history && window.history.pushState) {
window.history.pushState('forward', null, './#here');
$(window).on('popstate', function() {
window.location = urlToSend;