Skip to content

Instantly share code, notes, and snippets.

Avatar

Radoslav Mladenov rvmladenov

  • Bulgaria
View GitHub Profile
View isPrimeNumber
public static boolean isPrime(int n) {
if (n == 1) {
return false;
}
for (i=2; i<=n/2; i++) {
if (n % i == 0) {
return false;
}
}
View Sliders
Pure CSS slider: http://codepen.io/drygiel/full/rtpnE
Swiper: http://idangero.us/swiper/demos/#.V1p2quR8FYw
View CSS menus list
Morphing Menu: http://codepen.io/Sergioandrade/pen/onkub
Responsive Slide Toggle Menu: http://cssdeck.com/labs/3fo47n21
Gooey Menu: http://codepen.io/lbebber/pen/LELBEo
View gist:274850f15cae6a2f4445
for(;;) {
console.log("Boo");
}
@rvmladenov
rvmladenov / MongoDB install service
Created Feb 26, 2015
Settings for adding MongoDB as a Windows Service
View MongoDB install service
1/ Add the bin folder to the Windows Path
2/ mongod --remove
3/ "mongod --dbpath=D:\mongodb --logpath=D:\mongodb\log.txt --install" Where 'D:\mongodb' is the mongodb install folder
4/ Open win services (in cmd execute "services.msc") and start the MongoDB service
You can’t perform that action at this time.