Skip to content

Instantly share code, notes, and snippets.

View georgyangelov's full-sized avatar

Georgy Angelov georgyangelov

View GitHub Profile
@bergmannjg
bergmannjg / rearct-native-app-in-wsl2.md
Last active June 20, 2024 14:39
Building a react native app in WSL2
anonymous
anonymous / gist:0f71eab463be6ef74ac0
Created July 12, 2014 21:02
Bulgarian language word frequency (top 1000)
// Stopwords are removed (taken from http://members.unine.ch/jacques.savoy/Papers/BUIR.pdf)
// Using text version of all books from Chitanka.info, punctuation removed
23:56:57.549 [main] DEBUG WordFrequency - Collected 486684661 words, unique - 1227480, took 3.213 min
23:56:58.122 [main] DEBUG WordFrequency - 457813 човек
23:56:58.122 [main] DEBUG WordFrequency - 447887 път
23:56:58.122 [main] DEBUG WordFrequency - 446313 можеше
23:56:58.122 [main] DEBUG WordFrequency - 437312 нямаше
23:56:58.122 [main] DEBUG WordFrequency - 436892 имаше
23:56:58.122 [main] DEBUG WordFrequency - 417057 щеше
@cyberwombat
cyberwombat / CORS Configuration
Created November 1, 2012 19:18
JQuery file upload plugin (blueimp) with NodeJs Express3 directly to Amazon S3 with public access
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>