Skip to content

Instantly share code, notes, and snippets.

View DanielSmith's full-sized avatar
🖋️
Writing

Daniel Smith DanielSmith

🖋️
Writing
View GitHub Profile
@DanielSmith
DanielSmith / README.md
Created March 28, 2024 00:06
update for python scrape README

Intro to webscraping with python

  1. Make sure Python is installed on your system.
  2. Create folder web-scraping-with-python
  3. Open with favorite text editor
  4. Create main.py file
  5. Create first Hello World program by adding the following code to the file.
    print("Hello World!")
javascript:(function(){var a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('.ptr{width: 900px !important;}',0);})()
@DanielSmith
DanielSmith / gist:38fd9d1e343faf2c1841b10b61885e6c
Created November 25, 2022 19:15
Change CSS Body Background color - bookmarklet
javascript:(function(){var a=document.createElement('style'),b;document.head.appendChild(a);b=a.sheet;b.insertRule('body{background-color: #aaaaaa%20!important;}',0);})()
Greetings, I am porting a few react-aria examples to remix
the one that is giving me trouble is
AlertDialog (the example from https://react-spectrum.adobe.com/react-aria/useDialog.html#example)
If I go to the codesandbox @
https://codesandbox.io/s/delicate-hill-j4p5vs?file=/package.json
and export the zip...
@DanielSmith
DanielSmith / samplefile
Created February 24, 2022 18:59
newfeb
‎‎​

this is the new one...

  • a list
  • of this
@DanielSmith
DanielSmith / dls.md
Last active May 13, 2021 20:46
dls.md

does this

wordkl

import "./style.css";
// our config object - in a dynamic project you would fetch
// JSON from a server, and convert to an object...
@DanielSmith
DanielSmith / eventbus.js
Created May 13, 2021 20:37
Simple Eventbus
/*
** event-bus.js
*/
import Vue from 'vue'
export const eventBus = new Vue({
methods: {}
});
@DanielSmith
DanielSmith / March 27, 2021.md
Last active May 14, 2021 22:50
gistpad-scratch

ok so this is a gist?

neat

@DanielSmith
DanielSmith / updated-searchResultsMarkers.js
Created April 21, 2019 17:57
updated-searchResultsMarkers.js
searchResultMarkers(results) {
// if we have not pulled in City Boundaries, this is our default
let filteredresults = results;
if (this.mapNumGeometries > 0 && this.mapGoogleGeometryMultiPoly) {
filteredresults = [];
results.map((curPlace) => {
for (let i = 0; i < this.mapNumGeometries; i++) {
if (google.maps.geometry.poly.containsLocation(