What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-30 18:37:02
how to use .env file in react native
// step one install this module npm install react-native-dotenv // step two add this in your babel.config.js plugins: [ 'module:react-native-dotenv', { moduleName: '@dotenv', safe: false, allowUndefined: false } ] // s... Add solution -
Shell/Bash 2021-08-29 23:31:03
install jquery npm
Type this into terminal: > npm install jquery Add solution -
Shell/Bash 2021-08-29 20:44:02
serve current directory from command line
#Simplest way possible (thanks Aaron Patterson/n0kada): ruby -run -e httpd . -p 9090 # I have this in my .bashrc : function serve { port="${1:-3000}" ruby -run -e httpd . -p $port } # It serves the current directory on port 3000 by defa... Add solution -
Other 2021-08-29 17:57:02
roblox kill brick script
function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h~=nil then h.Health = h.Health-100 end end script.Parent.Touched:connect(onTouched) -- Put this in the part you want it to work in -- Message me for anymore help ... Add solution -
Shell/Bash 2021-08-29 13:57:01
how to install node js on chromebook
step 1: open a termnal step 2: type the folowing Into a termnal sudo apt-get update sudo apt-get install curl gnupg -y curl -sl https://deb.nodesource.com/setup_13.x | sudo -E bash - sudo apt-get install -y nodejs this installs nodeJS v13.12.0 Add solution -
Shell/Bash 2021-08-28 01:06:01
windows fatal: unable to access SSL certificate problem: unable to get local issuer certificate
# in unix put this in your .bash_profile, while # in windows put it in a batch script that runs at startup or # simply run it before cloning the repo git config --global http.sslVerify false Add solution -
Swift 2021-08-27 10:31:01
swift change navigation bar title
// Place this in your didFinishLaunchingWithOptions method in the AppDelegate let attrs = [ NSAttributedString.Key.foregroundColor: UIColor.white, // changes color NSAttributedString.Key.font: UIFont(name: "Futura-Bold", size: 17)! // change... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5