- https://www.indiehackers.com/forum/resources-to-help-you-improve-your-ui-design-134dbd3367
- https://www.indiehackers.com/forum/how-do-you-make-apps-look-polished-with-no-design-background-cc1183aad2?utm_source=Indie+Hackers+Newsletter&utm_campaign=indie-hackers-newsletter-20180314&utm_medium=email
- https://www.julian.com/learn/growth/intro
- https://www.thinkwithgoogle.com/marketing-resources/experience-design/speed-is-key-optimize-your-mobile-experience/
- https://developers.google.com/web/fundamentals/design-and-ux/principles/
- https://lawsofux.com/
- https://twitter.com/i/moments/880688233641848832
- http://nelucebotari.webflow.io/#contact
- https://codeburst.io/5-javascript-style-guides-including-airbnb-github-google-88cbc6b2b7aa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type TemplateParameterType = { [key: string]: string }; | |
/** | |
* If the template from @member CompiledRouteType.template | |
* is an object, this type will be extended with all the | |
* members of that object. | |
*/ | |
type TemplateMatchResponseType = { | |
params: TemplateParameterType, | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# NB: First install nscd with sudo apt-get install nscd | |
# run this command to flush dns cache: | |
sudo /etc/init.d/dns-clean restart | |
# or use: | |
sudo /etc/init.d/networking force-reload | |
# Flush nscd dns cache: | |
sudo /etc/init.d/nscd restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux | |
## By Philipp Klaus | |
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/> | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "You have to run this script as Superuser!" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// https://stackoverflow.com/a/1374644 | |
/// </summary> | |
/// <param name="email"></param> | |
/// <returns></returns> | |
public static bool IsValidEmail(this string email) | |
{ | |
try | |
{ | |
var addr = new System.Net.Mail.MailAddress(email); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// https://stackoverflow.com/a/1374644 | |
/// </summary> | |
/// <param name="email"></param> | |
/// <returns></returns> | |
public static bool IsValidEmail(this string email) | |
{ | |
try | |
{ | |
var addr = new System.Net.Mail.MailAddress(email); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://jsfiddle.net/">Opening here</a> | |
<script> | |
//https://jsfiddle.net/mckabue/458ysfwe/6 | |
document.querySelector("a").addEventListener("click", function(e){ | |
e.target.target = "_blank"; | |
return true; | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function JSON_to_URLEncoded(element,key,list){ | |
var list = list || []; | |
if(typeof(element)=='object'){ | |
for (var idx in element) | |
JSON_to_URLEncoded(element[idx],key?key+'['+idx+']':idx,list); | |
} else { | |
list.push(key+'='+encodeURIComponent(element)); | |
} | |
return list.join('&'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public static class Pager | |
{ | |
/// <summary> | |
/// Pages the specified items. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Description: Everytime the Kernel is upgraded (which is quite often), virtualbox stops working and throws the following error: | |
# | |
# The provider 'virtualbox' that was requested to back the machine | |
# 'default' is reporting that it isn't usable on this system. The | |
# reason is shown below: | |
# | |
# VirtualBox is complaining that the installation is incomplete. Please | |
# run `VBoxManage --version` to see the error message which should contain | |
# instructions on how to fix this error. |