Skip to content

Instantly share code, notes, and snippets.

@gucciburg
gucciburg / main.c
Created August 23, 2018 00:33
InsubstantialMeagerAnalysts created by gucciburg - https://repl.it/@gucciburg/InsubstantialMeagerAnalysts
#include <stdio.h>
int main(void) {
printf("Hello World\n");
return 0;
}
@gucciburg
gucciburg / fix-homebrew-npm.md
Created March 7, 2018 22:57 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

@gucciburg
gucciburg / fix-homebrew-npm.md
Created March 7, 2018 22:57 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.

Solution

This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

@gucciburg
gucciburg / README.md
Created March 5, 2018 19:04 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@gucciburg
gucciburg / GithubCardApp.jsx
Last active May 21, 2017 15:02
[React Github Card App] a beginners github card app made by following a pluralsight tutorial video tags#: React-learn
// Individual Card Component
const Card = (props) => {
return (
<div style={{margin: '1em'}}>
<img width="75" src={props.avatar_url} />
<div style={{display: 'inline-block', marginLeft: 10}}>
<div style={{fontSize: '1.24em', fontWeight: 'bold'}}>
{props.name}
</div>
<div>{props.company}</div>
@gucciburg
gucciburg / Button-Class-Component.js
Last active May 17, 2017 16:52
[React Increment App] A basic React app that increments a value depending on the button pressed #tags: React
class Button extends React.Component{
handleClick = () => {
this.props.onClickFunction(this.props.incrementValue);
}
render(){
return (
<button onClick={this.handleClick}>
+{this.props.incrementValue}
@gucciburg
gucciburg / ajax-notes.md
Last active April 17, 2017 16:16
[JSON and AJAX example] example of AJAX javascript code #tags: AJAX, JSON

AJAX notes

  • Asynchronous
  • JavaScript
  • And
  • XML (or JSON)

Allows for on-the-fly access to data