A curated collection of the best design inspiration websites for UI/UX designers, web designers, and creative professionals.
Source: Medium Article by Sharanya
A curated collection of the best design inspiration websites for UI/UX designers, web designers, and creative professionals.
Source: Medium Article by Sharanya
I'm going to walk you through the steps for setting up a AWS Lambda to talk to the internet and a VPC. Let's dive in.
So it might be really unintuitive at first but lambda functions have three states.
| """ | |
| Author: Vitchyr Pong | |
| Convert a PDF to svg files. Note that this is pretty slow since it makes | |
| subprocess calls to inkscape's PDF-to-SVG command line convert. | |
| Requirements: | |
| - Inkscape (https://inkscape.org/) | |
| - pyPdf (http://pybrary.net/pyPdf/) | |
| - A '/tmp' directory. If not, you must pass in another directory. |
| #!/bin/bash | |
| ################################################ | |
| # A SIMPLE SCHEDULE IP CHANGE SCRIPT FOR LINUX # | |
| # MAKE SURE YOU HAVE RUN hma-udp-grabber.sh # | |
| ################################################ | |
| OPENVPNCONFIG_PATH="/etc/openvpn" | |
| while true | |
| do | |
| #openvpn --daemon --config ${OPENVPNCONFIG_PATH}/Afghanistan.Kabul.TCP.ovpn # <<<< change the config file string to match your prefered server | |
| openvpn --daemon --config ${OPENVPNCONFIG_PATH}/USA.Seattle.TCP.ovpn |
| const ITERS: usize = 20; | |
| fn print_fib(n: usize) { | |
| let mut x = (1, 1); | |
| for i in 0..n { | |
| println!("{}: {}", i, x.0); | |
| x = (x.1, x.0 + x.1) | |
| } | |
| } |
| use std::str; | |
| fn main() { | |
| // -- FROM: vec of chars -- | |
| let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; | |
| // to String | |
| let string1: String = src1.iter().collect::<String>(); | |
| // to str | |
| let str1: &str = &src1.iter().collect::<String>(); | |
| // to vec of byte |
| ## Install necessary libraries | |
| sudo apt update && | |
| sudo apt install build-essential libglvnd-dev pkg-config | |
| ## Download the drivers | |
| wget https://us.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run | |
| ## Remove the existing Nvidia drivers, utils, libs etc. | |
| sudo apt purge nvidia* | |
| sudo apt purge nvidia-driver* |
There are three main concepts with Rust:
These are fairly simple concepts, but they are often counter-intuitive to concepts in other languages, so I wanted to give a shot at
| <style type="text/css"> | |
| /****** EMAIL CLIENT BUG FIXES - BEST NOT TO CHANGE THESE ********/ | |
| .ExternalClass { | |
| width: 100%; | |
| } | |
| /* Forces Outlook.com to display emails at full width */ | |
| .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } | |
| /* Forces Outlook.com to display normal line spacing, here is more on that: http://www.emailonacid.com/forum/viewthread/43/ */ | |