This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ------------------------ | |
* | Newton-Raphson Method | | |
* ------------------------ | |
* | |
* Author: Navin Mohan | |
* Website: https://nvnmo.github.io | |
* | |
* MIT License | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** HOW TO USE | |
** -------------- | |
** Go to http://alexlenail.me/NN-SVG/AlexNet.html | |
** Open console (Ctrl + Shift + J on Chrome) | |
** Paste this script and hit enter | |
*/ | |
document.getElementsByClassName('btn btn-primary btn-add input-group-prepend')[0].classList.add('add-layer-btn') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ORG 0000 | |
CLR C | |
MOV DPTR,#0100 | |
MOVX A,@DPTR | |
MOV R0,A | |
INC DPTR | |
MOVX A,@DPTR | |
ADD A,R0 | |
INC DPTR | |
MOVX @DPTR,A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/ipc.h> | |
#include <sys/shm.h> | |
#include <pthread.h> | |
#include <string.h> | |
#include <stdlib.h> | |
// gcc -pthread concat.c -o concat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <fcntl.h> | |
#include <sys/stat.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
int main(){ | |
int n,i,a,fd1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo pacman -S tlp --noconfirm | |
sudo systemctl enable tlp.service | |
sudo systemctl enable tlp-sleep.service | |
sudo systemctl mask systemd-rfkill.service | |
sudo systemctl mask systemd-rfkill.socket | |
sudo systemctl start tlp.service | |
sudo systemctl start tlp-sleep.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from html.parser import HTMLParser | |
class TextExtractionParser(HTMLParser): | |
''' | |
Custom HTML Parser that extracts | |
textual data from HTML | |
''' | |
def __init__(self,*args,**kwargs): | |
super().__init__(*args,**kwargs) | |
self.word_list = [] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <string.h> | |
#define TAB_SIZE 100 | |
#define SYMBOL_SIZE 30 | |
#define OPCODE_SIZE 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <string.h> | |
#define SYMTAB_SIZE 100 | |
#define SYMBOL_SIZE 30 | |
typedef unsigned int uint; |
NewerOlder