Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bintlopez on github.
  • I am nmlopez (https://keybase.io/nmlopez) on keybase.
  • I have a public key ASB5wzghoRCV-j8MpRTQ57cA4bkS86b2DcZcg3INHoPHxQo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@BintLopez
BintLopez / upload_ftp.sh
Last active February 12, 2016 10:34
Bash script that uploads all files in a specific directory to your site's directory. Fast way to update your site from the command line :)
#!/bin/bash
ftp_site=your_ftp_ip
username=your_username
password=your_password
remote_path=public_html/your_site_dir
local_site_dir=path/to/your/local/site/dir
files_to_push_dir=_site #directory containing files to be pushed
# Check that we're in the correct directory
@BintLopez
BintLopez / jsbin.totol.html
Created June 23, 2014 02:37
homeworkJS101wk2
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
</body>
</html>