Skip to content

Instantly share code, notes, and snippets.

View 0xDaksh's full-sized avatar
🦄
Layer 2 DeFi is going to be fun!

Daksh 0xDaksh

🦄
Layer 2 DeFi is going to be fun!
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>You tried to contact Pug.</title>
</head>
<body>
<h1>Ayy Lean-On, Thanks for Contacting Pug Let's Stop Racism.</h1>
<p>Whom to Contact: <b><%= data.who %></b></p>
<p>Whom to Contact: <b><%= data.email %></b></p>
@0xDaksh
0xDaksh / Redirect-Traffic-Script-dak.sh
Last active May 9, 2017 11:00
Traffic Redirect Script, Redirect your traffic when user clicks back button to another url :3
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;
@0xDaksh
0xDaksh / main.cpp
Last active July 12, 2017 14:44
Star-Tree Reversed-Mirror-Edition :3
/*
Created on July 12th 2017 : 5:30:10
Created by Daksh Miglani.
*/
// for turbo cplusplus
#include <iostream.h>
#include <conio.h>
int main() {
#include <iostream> // no need of conio file
using namespace std; // using namespace of std
int main() {
return 0; // return function here
}
@0xDaksh
0xDaksh / idler.js
Created August 10, 2017 10:44
Update
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;
@0xDaksh
0xDaksh / factorial.cpp
Created August 13, 2017 15:20
Factorial
#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++) {
@0xDaksh
0xDaksh / factorial.cpp
Created August 13, 2017 15:20
Factorial
#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++) {
@0xDaksh
0xDaksh / pytorch-cifar.ipynb
Created August 21, 2017 12:05
Pytorch Cifar10
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// 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.
-novid -tickrate 128 -high -refresh 75 -freq 75 +exec autoexec.cfg