Skip to content

Instantly share code, notes, and snippets.

View admariner's full-sized avatar

Periklis Papanikolaou admariner

  • admariner
  • Thessaloniki
View GitHub Profile
@rvanbruggen
rvanbruggen / importtaxonomy.cql
Last active March 10, 2025 21:20
Google Product Taxonomy
//Import Google Product Taxonomy
//WITH IDENTIFIERS
//downloaded from https://support.google.com/merchants/answer/1705911
create index on :Cat1(name);
create index on :Cat2(name);
create index on :Cat3(name);
create index on :Cat4(name);
create index on :Cat5(name);
create index on :Cat6(name);
@shamrt
shamrt / journal_list.py
Created April 7, 2016 00:07
Scripts for Python Programs to Start Digging Into JSTOR’s Early Journals
# PROGRAM NAME: journal_list.py
# Displays the title of every journal in the JSTOR Early Journal Content Data Bundle.
# Highlights those with "Psych" or "Philos" in the title (+ two general science journals).
# Displays the filename of the first article for each journal.
# Written by Christopher D Green
# January 2014
# Modified by (if you modify this program, put your name here.)
@pshapiro
pshapiro / internal-pagerank.r
Last active August 3, 2022 08:53
Modification to assign PR a value between 1 and 10
library(igraph)
map <- function(x, range = c(0,1), from.range=NA) {
if(any(is.na(from.range))) from.range <- range(x, na.rm=TRUE)
## check if all values are the same
if(!diff(from.range)) return(
matrix(mean(range), ncol=ncol(x), nrow=nrow(x),
dimnames = dimnames(x)))
## map to [0,1]
@RitwikGA
RitwikGA / Adwords City Optimizer
Created August 13, 2016 13:56
Adwords Performing vs Underperforming cities - Reduce your CPA - 2
/* Adwords City Optimizer
* Description: Analyze the Adwords City performance.
* Author:RitwikGA
* Version 1.1
* Copyright (c) 2016 Licensed under GPL licenses.
* Mail: [email protected]
*/
function main()
{
DownloadCount : 537073
Name : AzureRM.profile
Version : 2.2.0
Author : Microsoft Corporation
ProjectUri : https://github.com/Azure/azure-powershell
CompanyName : {elogeel, azure-sdk}
PublishedDate : 28.09.2016 16:20:36
@RitwikGA
RitwikGA / Hour&DayOfWeek_Script
Last active March 3, 2021 07:55
Analyze the Adwords Dayparting Performance Through Automated Scripts
/* Adwords Hour&DayOfWeek Analysis
* Description: Analyze the Adwords Dayparting performance.
* Author:RitwikGA
* Version 1.1
* DigiShuffle.com
*/
function main()
{
@jimmywarting
jimmywarting / readme.md
Last active April 24, 2025 05:33
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@pshapiro
pshapiro / reddit-keyword-insights.py
Created August 23, 2017 02:41
Get stats from reddit keywords
import praw
import csv
import datetime
# Create an app: https://www.reddit.com/prefs/apps
# Use http://localhost:8080 as redirect uri
username = ""
password = ""
clientid = ""
clientsecret = ""
@bobpoekert
bobpoekert / pdf_urls.txt
Created October 24, 2017 07:25
262k PDFs
This file has been truncated, but you can view the full file.
https://www.pdf-archive.com/2011/01/01/great-big-hug-cowl-pattern-version-1/great-big-hug-cowl-pattern-version-1.pdf
https://www.pdf-archive.com/2011/01/01/brentsteinbergillustrations/brentsteinbergillustrations.pdf
https://www.pdf-archive.com/2011/01/01/summing-up-transfers-on-january-1st/summing-up-transfers-on-january-1st.pdf
https://www.pdf-archive.com/2011/01/03/10-retro/10-retro.pdf
https://www.pdf-archive.com/2011/01/03/10-vol/10-vol.pdf
https://www.pdf-archive.com/2011/01/03/progress-report-28-12-2010/progress-report-28-12-2010.pdf
https://www.pdf-archive.com/2011/01/03/guide/guide.pdf
https://www.pdf-archive.com/2011/01/03/dating-relationships-and-all-that-awkward-stuff/dating-relationships-and-all-that-awkward-stuff.pdf
https://www.pdf-archive.com/2011/01/04/q1-and-q2/q1-and-q2.pdf
https://www.pdf-archive.com/2011/01/04/q1-and-q2-1/q1-and-q2-1.pdf