Skip to content

Instantly share code, notes, and snippets.

View cymruu's full-sized avatar

filip cymruu

  • 10:46 (UTC +01:00)
View GitHub Profile
@cymruu
cymruu / fbUnseen.js
Created June 3, 2019 11:23
MyTramperMonkeyExtenstions
// ==UserScript==
// @name FBUnseen
// @description blocks seen and typing indicator on facebook!
// @author Filip
// @match https://www.facebook.com/*
// @match https://www.messenger.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
@cymruu
cymruu / main.go
Created June 26, 2018 12:06
Golang raw RSA encryption (no padding) RSA_NO_PADDING
package main
import (
"crypto/rsa"
"fmt"
"math/big"
)
var RSA_PublicKeyString string = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
var Public_RSA_Key = rsa.PublicKey{
N: fromBase10(RSA_PublicKeyString),
@cymruu
cymruu / contributionChart.go
Created February 18, 2018 16:38
A program that draws github-like contribution graph chart
package main
import (
"fmt"
"image"
"image/color"
"image/draw"
"image/png"
"math/rand"
"os"
#include "stdafx.h"
#include <iostream>
#include <string>
#include <iomanip>
#include <cmath>
#include <conio.h>
#include <ctime>
using namespace std;
void printMatrix(double *tab, size_t rows, string name) {
using System;
public class Test
{
public static void Main()
{
string password = "fi";
for(int i=0;i<password.Length;i++){
for(char c = 'a'; c<='z'; c++){
Console.WriteLine(c);
#include <iostream>
#include <cmath>
void printArray(double **tab, size_t n, size_t k) {
for (size_t i = 0; i < n; i++)
{
for (size_t j = 0; j < k; j++)
{
std::cout << tab[i][j] << '\t';
}
std::cout << std::endl;
#include <iostream>
#include <ctime>
//grupa a
//1 jednowymiarowa
using namespace std;
void zadanie1(int *tab, unsigned int size) {
int max = INT32_MIN;
for (size_t i = 0; i < size; i++)
{
if (!(*(tab + i) % 2)) {
This file has been truncated, but you can view the full file.
{
"status" : "success",
"prices" : [
{
"appid" : "730",
"market_hash_name" : "AK-47 | Aquamarine Revenge (Battle-Scarred)",
"price" : "13.27",
"pricing_mode" : "market",
"skewness" : "0.14",
"created_at" : 1501134114,
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFl1vNcBCADE+bLhK5NdGqfYWWCJi4fqhEpb6CuLUokLMKMoP3ALUQtdE9Yz
NkI09hEf9MBbUh7DFDNWWiZknBAxI7M6WN17LVHuekcpoYzDGn96yJtZEcvNgcjU
A8+URQYlXSFR6nZPxBfvaCYrqMSCwLfACgUvi+7GygvkbgIaL/VOUYlx1bdUzNsO
5XKfUVgURBUyJTygqmq24+XuzyWj57af74WPEGTFa84PpXMKsJboZFJbn99pvOyf
xNWISbuCYg1BlCJIvvYMewECrjMLt8UuXXKsI1tdbG84EdIhCYHrKjcYcJTb8GQj
GH8XRVLSX9v2xsBxlONeAO6OOoBsxsazHh0hABEBAAG0GEZpbGlwIDxmaXF4aW9A
Z21haWwuY29tPokBOQQTAQgAIwUCWXW81wIbAwcLCQgHAwIBBhUIAgkKCwQWAgMB
number = 15
def getOnesInNumber(n):
numberOfOnes = 0
while(n):
found = n%10
n//=10
if found==1: numberOfOnes+= found
return numberOfOnes
found = 0