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 <math.h> | |
#include <stdbool.h> | |
#include "base.h" | |
main(){ | |
_struct * list = NULL; | |
FILE * file = fopen("post.ms", "r"); | |
char value[10] , * pt; |
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<time.h> | |
#include<math.h> | |
// MATRIX UTILS | |
void mMultiply(int matrix[2][2]){ | |
int tmp = matrix[0][0] + matrix[0][1]; | |
matrix[0][1] = matrix[0][0]; |
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<time.h> | |
#define TEST_NUMBER 100 | |
typedef struct node{ | |
struct node * l, * r; | |
int value; | |
} node; |
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
body { | |
background: #263238; | |
color : #89DDFF; | |
font-family: monospace; | |
white-space: pre; | |
} | |
a{ | |
color: #C3E88D; | |
} |
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
/* Colors */ | |
.panel-theme-studenti>.panel-heading, | |
.panel-theme-studenti>.panel-footer { | |
background: #315572; | |
border-color: rgba(0,0,0,0.1); | |
} | |
.page-wrapper .page-heading-studenti{ | |
padding-bottom: 8px; |
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
// ==UserScript== | |
// @name Unipa Subscription | |
// @version 1.0 | |
// @description Sort Unipa Files by Upload Date | |
// @author Francesco Cannizzaro | |
// @match https://immaweb.unipa.it/immaweb/private/docenti/esami/include/contenutiInsegnamentoMaterialeDidattico.seam?* | |
// @require https://code.jquery.com/jquery-3.2.0.min.js | |
// ==/UserScript== | |
(function() { |
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
// ==UserScript== | |
// @name Unipa Subscription Checker | |
// @version 1.0 | |
// @description Check Subscription | |
// @author Francesco Cannizzaro | |
// @match https://immaweb.unipa.it/immaweb/private/docenti/esami/iscrizioneLezioni.seam* | |
// @require https://code.jquery.com/jquery-3.2.0.min.js | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
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
/** | |
* | |
* Copyright 2017 FRANCESCO SAVERIO CANNIZZARO | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated | |
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, | |
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
* | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or substantial portions |
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
import android.support.v7.widget.LinearLayoutManager | |
import android.support.v7.widget.RecyclerView | |
import kotlin.properties.Delegates | |
class InfiniteScroll(private var layoutManager: LinearLayoutManager, private var loadMore: (page: Int) -> Unit) : RecyclerView.OnScrollListener() { | |
private var loading = true | |
private var previousTotal = 0 | |
private var visibleThreshold = 5 | |
private var current_page = 1 |
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
// ==UserScript== | |
// @name Media Keyboard | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Francesco Cannizzaro | |
// @match *://*/* | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
OlderNewer