text:
{
  "title": "Great beginner resource: \"Basic care & feeding of data in R\" 👩💻 @JennyBryan & @STAT545 https://t.co/qxVEk3aiww #rstats #r4ds #SoDS18 https://t.co/sI5tulT9S3",
  "date": "2018-05-12"
}

# rstats

> **** (@; 100/25): Great beginner resource:
"Basic care & feeding of data in R" 👩💻 @JennyBryan & @STAT545 https://t.co/qxVEk3aiww #rstats #r4ds #SoDS18 https://t.co/sI5tulT9S3  [↪](https://twitter.com/dataandme/status/995287994402856966)

<!-- -->

> **** (@; 34/13): ICYMI, "The Data Analyst as Wanderer: Pre-Exploratory Data Analysis w/ R" ✏ @daranzolin https://t.co/yBneo8hAtm (w. @nj_tierney's visdat) #rstats https://t.co/48ePzroSPT  [↪](https://twitter.com/dataandme/status/995348383672958978)

<!-- -->

> **** (@; 23/7): It's conference season and you know what's more fun than writing your talk? Tweaking your slide fonts and colors! If you use #xaringan for your #rstats slides, check out xaringanthemer for your slide styling needs. https://t.co/zhes8UNepe https://t.co/9sL9sOACnu  [↪](https://twitter.com/dataandme/status/995383065370296321)

<!-- -->

> **** (@; 19/4): The `WVPlots` R package provides a collection of oft-used plots (ROCs, gain curves, scatter plots, density plots) that can be produced with one-line codes:
https://t.co/rwlQ3ytqI0
>
All key functions are well-documented in the vignettes:
https://t.co/36H2kc41nn
>
#rstats https://t.co/SPPiqEqGTW  [↪](https://twitter.com/dataandme/status/995334194862608384)

<!-- -->

> **** (@; 14/7): RStudio:addins part 2 – roxygen documentation formatting made easy https://t.co/c57wvxZCfD #rstats #DataScience  [↪](https://twitter.com/dataandme/status/995344197946355713)

<!-- -->

> **** (@; 13/2): Fun project 📊📈 building on @TylerAbosch brilliant work ....  happy to talk anyone through the code if you want to learn #rstats / shiny / flex and get involved . https://t.co/c14y13JGuI  [↪](https://twitter.com/dataandme/status/995331831926001665)

<!-- -->

> **** (@; 10/16): Introducing the Deep Learning Virtual Machine on #Azure. #BigData #DeepLearning #MachineLearning #DataScience #AI #Python #RStats #RLang #MSSQLServer #Jupyter #Cloud #CloudComputing #Serverless #Analytics #ApacheMXNet #PowerBI #Linux #Hadoop #NoSQL
https://t.co/mZoQPKX9rQ https://t.co/2chlTSFzGz  [↪](https://twitter.com/dataandme/status/995340363018768385)

<!-- -->

> **** (@; 9/5): Investing for the Long Run https://t.co/vj9jxMGBUj #rstats #DataScience  [↪](https://twitter.com/dataandme/status/995368112261337089)

<!-- -->

> **** (@; 9/4): Come and participate in our workshop w @paljenczy on writing clean R code @erum2018 Monday morning - I am really excited! https://t.co/yRkPadIOvm #rstats  [↪](https://twitter.com/dataandme/status/995350454887440384)

<!-- -->

> **** (@; 8/4): Do you want to work with images of people as data? My #rstats package facerec provides an interface to the @LoveKairos API:
https://t.co/IZwbfjkQa8 https://t.co/exzamTxZEO  [↪](https://twitter.com/dataandme/status/995335042976092164)

<!-- -->

> **** (@; 8/1): Goddamn @rstudio sorcery, I tell you! Somebody’s a witch! I’ll brb with my duck and we’ll sort this out. #rstats https://t.co/bkCDoO50GC  [↪](https://twitter.com/dataandme/status/995395461233201153)

<!-- -->

> **** (@; 8/0): 🔥#rstats 📦 https://t.co/45BgIW5GkA  [↪](https://twitter.com/dataandme/status/995386889183088642)

<!-- -->

> **** (@; 6/1): Thank you @hadleywickham for an informative & engaging presentation yesterday. And for taking time to chat with me and provide your perspective! I will cherish my signed book! Thank you @gdequeiroz for your leadership & for organizing a great @RLadiesSF event! #Rladies #rstats  [↪](https://twitter.com/dataandme/status/995343665332551681)

<!-- -->

> **** (@; 6/0): All your #rstats #tadaverse presentation wishes have been granted! #xaringan 🧞♀🧞♂ https://t.co/BXzkDSZs1z  [↪](https://twitter.com/dataandme/status/995391049680896000)

<!-- -->

> **** (@; 5/6): Developer Economics: State of the Developer Nation 14th Edition: Developers are Dreaming of a Smarter Tomorrow. #BigData #DataScience #Python #RStats #RLang #Cloud #CloudeComputing #Serverless #CPP #JavaScript #CSharp #Analytics #ReactJS #VueJS #AngularJS
https://t.co/5dlKpZaNx6 https://t.co/d8grooo42y  [↪](https://twitter.com/dataandme/status/995341633095946240)

<!-- -->

> **** (@; 5/3): IT IS ON #Eurovison2018 #Rstats https://t.co/Yc4DsBEeGq https://t.co/ooaB2UrQGT  [↪](https://twitter.com/dataandme/status/995378694104535045)

<!-- -->

> **** (@; 5/0): runs scored and allowed with contours of pythag win pct (suggestion from @steamerpro) #MLB #dataviz #rstats https://t.co/posI4xszCo  [↪](https://twitter.com/dataandme/status/995387708666236929)

<!-- -->

> **** (@; 4/6): R Data Mining Blueprints. #BigData #MachineLearning #DataScience #AI #DataMining #RLang #RStats #Books
https://t.co/MlF9iA4y5v https://t.co/XWWK39G9m1  [↪](https://twitter.com/dataandme/status/995370601257807872)

<!-- -->

> **** (@; 4/6): Visualizing #GE14 parliament seat results in #Johor using hexbins - thanks @keithrozario for harvesting the data! #ggplot2 #rstats #dataviz https://t.co/XPJInpUKp6  [↪](https://twitter.com/dataandme/status/995309624914952192)

<!-- -->

> **** (@; 4/1): Keep up to date on the latest from @NumFOCUS sponsored projects — sign up for the NumFOCUS newsletter: https://t.co/DQ8VOTWYun
>
#python #pydata #julialang #rstats #bayesian #bigdata #machinelearning #dataviz #openscience #opendata #opensource #oss #datascience https://t.co/PEkxnhXCyH  [↪](https://twitter.com/dataandme/status/995389834536673280)

<!-- -->

> **** (@; 4/1): RS and RA per game #MLB #dataviz #rstats https://t.co/Slu3F2s1Lt  [↪](https://twitter.com/dataandme/status/995341376882663426)

<!-- -->

> **** (@; 4/1): Design your academic site using blog down package in #Rstats https://t.co/7FGLPZS8E6  [↪](https://twitter.com/dataandme/status/995316715528519681)

<!-- -->

> **** (@; 4/1): Current status: looking for more memes to put in my @erum2018 talk.
#RStats #eRum2018  [↪](https://twitter.com/dataandme/status/995296789476634625)

<!-- -->

> **** (@; 4/0): Very important announcement: La Croix color palettes for R! Wonderful new #rstats package from @ArmitageDW and @AwfulDodger. 😋 https://t.co/uXVFnFzWzQ https://t.co/e2tOLzK2Gj  [↪](https://twitter.com/dataandme/status/995322780173336576)

<!-- -->

> **** (@; 4/0): You can once more install the #python 'daymetpy' package using 'pip install daymetpy' to access @ORNLDAAC Daymet data using python in a similar fashion as my 'daymetr' #rstats package.  [↪](https://twitter.com/dataandme/status/995292069609574400)

<!-- -->

> **** (@; 4/0): We've just launched a Leeds #datascience meetup https://t.co/C15DEam408 #rstats #python https://t.co/gFejh6Uef9  [↪](https://twitter.com/dataandme/status/995291010258391046)

<!-- -->

> **** (@; 3/1): Day 15: Working on Titanic Dataset and performing EDA  with R language.
#100DaysOfCode
#rstats  [↪](https://twitter.com/dataandme/status/995353302018781184)

<!-- -->

> **** (@; 3/0): Was giving a presentation to the Kansas City #rstats user group, on my third slide someone says "oh you're THAT Levi Bowles". Thoughts:
>
1. Shit. What did I do?
2. Wait, how many do you know?  [↪](https://twitter.com/dataandme/status/995400280127758337)

<!-- -->

> **** (@; 3/0): We 👀 (&💜) @LVaudor's #rstats art! https://t.co/gNy9amzSvv  [↪](https://twitter.com/dataandme/status/995386988978212864)

<!-- -->

> **** (@; 3/0): For you #rstats millenial users. https://t.co/YvJCKp9lOt  [↪](https://twitter.com/dataandme/status/995359052761710593)

<!-- -->

> **** (@; 3/0): that moment when you realize you need to be working in #git... #github #rstats #datamanagement #versioncontrol  [↪](https://twitter.com/dataandme/status/995337553011097600)

<!-- -->

> **** (@; 3/0): Delighted to read about your experience @theaknowles! Thanks for sharing it and congratulations for the accomplishments in #RLadies #rstats 💻🙌 https://t.co/hG7A02W0g3  [↪](https://twitter.com/dataandme/status/995296147530018816)

<!-- -->

> **** (@; 2/3): Custom Loss functions for Deep Learning: Predicting Home Values with Keras for R. #BigData #DeepLearning #MachineLearning #DataScience #AI #RStats #RLang #Keras
https://t.co/4YHKZS1CoB https://t.co/CfeiU1jJ8g  [↪](https://twitter.com/dataandme/status/995369522780663814)

<!-- -->

> **** (@; 2/2): What #programming language should you learn first?
💻📈📊🤔
>
#STEM #Coding #Rstats #Java #python #IoT #C #php #BigData #DataViz #BigData #DataScience https://t.co/mTOcKRky9s
>
#IAMPlatform
#TopInfluence
#InternetOfThings
>
Via: https://t.co/b4TGJ1YiME  [↪](https://twitter.com/dataandme/status/995333049847042049)

<!-- -->

> **** (@; 2/1): Matt Carpenter still hitting like some studs (striking out a bit more though). These guys don't really like to hit pop-ups. #MLB #Statcast @Cardinals #rstats #dataviz #ggplot2 https://t.co/VnLNaIfoT1  [↪](https://twitter.com/dataandme/status/995396079955988481)

<!-- -->

> **** (@; 2/0): @datingdecisions #Python is amazing for web/twitter scraping, formatting entire excel spreadsheets (for 40,000+ rows), and so much more. It’s a learning curve but the payoff in how quickly you can get things done is amazing. Plus great support community like #rstats  [↪](https://twitter.com/dataandme/status/995394356340252672)

<!-- -->

> **** (@; 2/0): I have the pleasure to give a workshop at @erum2018 with @czeildi on clean R code https://t.co/KL37TkQg8C. Meet you there! #rstats https://t.co/YY9sD8AIr2  [↪](https://twitter.com/dataandme/status/995378329053253634)

<!-- -->

> **** (@; 2/0): Currently head over heels for #ggstatsplot in #rstats. @patilindrajeets, is there a simple way to remove only the violins (in ggbetweenstats)?  [↪](https://twitter.com/dataandme/status/995370064512782337)

<!-- -->

> **** (@; 2/0): Building your custom flowchart in #rstats https://t.co/eoXYChwxul  [↪](https://twitter.com/dataandme/status/995283701780111360)

<!-- -->

> **** (@; 1/1): 17 Best #ArtificialIntelligence Courses To Standout in The Future
>
https://t.co/nL1PCTYBh3
>
#AI #DataScientist #DataScientists #DataScience #BigData #Analytics #BigDataAnalytics #IoT #IIoT #Industry40 #rstats #R #tech #Python #Robots #Bots #Robotics #DeepLearning #MachineLearning https://t.co/893quEDuaB  [↪](https://twitter.com/dataandme/status/995385622570455041)

<!-- -->

> **** (@; 1/1): At KC R Users Group today representatives from 3 Kansas City businesses will discuss uses of data science and #RStats. Reps from Hallmark Cards, H&R Block, and Ascend Learning will share experiences.  1 PM at Leawood Public Library. https://t.co/Z6wHRhZiex  [↪](https://twitter.com/dataandme/status/995349140631707648)

<!-- -->

> **** (@; 1/1): One thing I notice, I could not see any info graphic about certain statistics regarding #maritime and #shipping. Due to this, I have a mission to fill this gap and start posting simple yet informative visualisations. Using #rstats in the process.  [↪](https://twitter.com/dataandme/status/995316824102256640)

<!-- -->

> **** (@; 1/0): Wish I had known this great #rstats blogdown tutorial BEFORE I made my own blog with great duress! https://t.co/kfEVckIFcb  [↪](https://twitter.com/dataandme/status/995403741212954624)

<!-- -->

> **** (@; 1/0): Tweetable Heart Plot in R (131 bytes):
>
💻📊❤
>
library(tidyverse)
>
tibble(t = seq(0, 2*pi, .1),
       x = 16*sin(t)^3,
       y = 13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t)) %>%
  ggplot(aes(x=x, y=y)) +
  geom_path(color="hotpink")
>
#rstats #tidyverse #ggplot2 #codegolf https://t.co/4Q1AyCvH5n  [↪](https://twitter.com/dataandme/status/995394595373666304)

<!-- -->

> **** (@; 1/0): 🙏 Huge thanks to @xieyihui for blending remarkjs and #rstats with #xaringan! Shout out to @apreshill whose awesome "Sad Plot" slides made me want to up my slide game and inspired this package. https://t.co/nr2g0qpdRB  [↪](https://twitter.com/dataandme/status/995386469459156992)

<!-- -->

> **** (@; 1/0): Looking for an easy way to give back to the #opensource tools you love?
>
Become a NumFOCUS member: https://t.co/1JT8FzHcnl
>
#python #pydata #julialang #rstats #bayesian #bigdata #machinelearning #dataviz #openscience #opendata #datascience https://t.co/FYkXfv1vp1  [↪](https://twitter.com/dataandme/status/995385826220609537)

<!-- -->

> **** (@; 1/0): #Review of #DeepLearning A-Z™ Hands-On Artificial #NeuralNetworks
>
https://t.co/eto1VuzCwe
>
#DataScience #DataScientist #rstats #AI #ArtificialIntelligence #Analytics #BigData #IoT #IIoT #tech #ML #dataviz #DataAnalytics #BusinessIntelligence #IndustrialIoT #InternetOfThings https://t.co/JAjhkhjqF6  [↪](https://twitter.com/dataandme/status/995371531151790081)

<!-- -->

> **** (@; 1/0): Does running multi-hour #MachineLearning #models count as a "working" Saturday? 😁 #rainyday #rstats #phdlife  [↪](https://twitter.com/dataandme/status/995346589815160832)

<!-- -->

> **** (@; 1/0): Visualizing networks that have overlapping relationships in R (such as in multilateral agreements)
>
#rstats #dataviz
>
https://t.co/fLr8cQ2iPv https://t.co/EH5OWxfWjv  [↪](https://twitter.com/dataandme/status/995340261881450496)

<!-- -->

> **** (@; 1/0): Did my first report for the board in my new job this week, decided I'd do the whole thing in #rstats markdown in @rstudio something I think I'll be doing for every report I do in the future, so much faster to get things formatted than in a word processor! #DataScience #dataviz  [↪](https://twitter.com/dataandme/status/995330007852634112)

<!-- -->

> **** (@; 1/0): Integrating forecast into ggplot2 #tidyverse #rstats https://t.co/H8UDSNqneT  [↪](https://twitter.com/dataandme/status/995326661779476480)

<!-- -->

> **** (@; 1/0): @kearneymw @MattGrossmann Read this out of context and thought it was about #rstats tidy eval  [↪](https://twitter.com/dataandme/status/995320202370920448)

<!-- -->

> **** (@; 1/0): Handy guide on ggplot2 scales, axes and legends
>
https://t.co/IKe0QB4iQZ #rstats  #tidyverse  [↪](https://twitter.com/dataandme/status/995318055780548608)

<!-- -->

> **** (@; 1/0): @hrbrmstr Ahaha it’s true! The tone is so precise. As I’m laughing halfway through the first chapter I’m like what black magic is this…shouldn’t a book about an interface to a query engine be dry and boring?!  🔗https://t.co/DbV2tfQNV0  [↪](https://twitter.com/dataandme/status/995308836230651904)

<!-- -->

> **** (@; 1/0): A great reminder of why it pays off to think about object types in #rstats . Overhead of data frames can slow down your code significantly. https://t.co/xIJeJw9OUC  [↪](https://twitter.com/dataandme/status/995300435971006464)

<!-- -->

> **** (@; 0/1): Dr. GP Pulipaka
>
@gp_pulipaka
>
Developer Economics: State of the Developer Nation 14th Edition: Developers are Dreaming of a Smarter Tomorrow. #BigData #DataScience #Python #RStats #RLang #Cloud #CloudeComputing #Serverless
https://t.co/DtoZuI6pbF  https://t.co/kaS4Xs5yA2  [↪](https://twitter.com/dataandme/status/995349238040219648)

<!-- -->

> **** (@; 0/1): Posted by Jozef's Rblog, now on R-bloggers: RStudio:addins part 2 – roxygen documentation formatting made easy #rstats https://t.co/HNflys7FJA  [↪](https://twitter.com/dataandme/status/995348214546161668)

<!-- -->

> **** (@; 0/1): Big | Data | Insights! https://t.co/rCPbouH2zB
#in #datascience #rstats  [↪](https://twitter.com/dataandme/status/995336109650563073)

<!-- -->

> **** (@; 0/1): Since most of my interactions with grad school students/alumni on twitter have been within the #rstats community, I need some advice:
>
What is one tip you would like to give someone who is about to begin his/her PhD studies in the fall?  [↪](https://twitter.com/dataandme/status/995330246151942145)

<!-- -->

> **** (@; 0/0): Sacred texts in #rstats tidy format (inspired by @juliasilge janeaustenr) and a quick look at the sentiment throughout the King James Bible; the Old Testament is much harsher than the New. https://t.co/erM3JMASTn  [↪](https://twitter.com/dataandme/status/995405650074177536)

<!-- -->

> **** (@; 0/0): Hey #eurovision #rstats  crowd, I know you exist! Check out this web app I just made that  creates wordclouds by language or hashtags of ~240.000 tweets with the #eurovision hashtag posted today https://t.co/vpT5SSVUqX https://t.co/4xnGLWOzcG  [↪](https://twitter.com/dataandme/status/995405100507115526)

<!-- -->

> **** (@; 0/0): @romain_francois @jenny_bryan @hadleywickham reprex may be the best idea ever for an #Rstats package. Congratulations and thank you  [↪](https://twitter.com/dataandme/status/995400743392866305)

<!-- -->

> **** (@; 0/0): #Rstats data plots and #dataviz with graph overlapping https://t.co/XRomB1BLT6  [↪](https://twitter.com/dataandme/status/995394781567180800)

<!-- -->

> **** (@; 0/0): CRAN updates: icr https://t.co/y5W2NTKSXT #rstats  [↪](https://twitter.com/dataandme/status/995393709398282240)

<!-- -->

> **** (@; 0/0): Here's an example of xaringathemer in action with a slide theme based on the #rstats logo https://t.co/qDPNv4JF5j  [↪](https://twitter.com/dataandme/status/995384976467267584)

<!-- -->

> **** (@; 0/0): Coordinate systems in ggplot2: easily overlooked and rather underrated | STATWORX https://t.co/q92nOgVlUd #rstats  [↪](https://twitter.com/dataandme/status/995384817884770307)

<!-- -->

> **** (@; 0/0): One of the most fun #rstats adventures I have ever gone on 11 months of Theo!
>
https://t.co/fmiTBaUtpU  [↪](https://twitter.com/dataandme/status/995381402408509440)

<!-- -->

> **** (@; 0/0): #rdata #rstats: Nickel Concentrations in Table 9-4 of 2009 USEPA Guidance Document - https://t.co/dRGcMjBtwt  [↪](https://twitter.com/dataandme/status/995378929811804165)

<!-- -->

> **** (@; 0/0): Posted by Marcelo S. Perlin, now on R-bloggers: Investing for the Long Run #rstats https://t.co/kTDwfCxPRj  [↪](https://twitter.com/dataandme/status/995373050047750151)

<!-- -->

> **** (@; 0/0): Yet another 💥looking #rstats 📦 to add to the "need to learn that" list... https://t.co/L7m4ydlq7l  [↪](https://twitter.com/dataandme/status/995370188190113792)

<!-- -->

> **** (@; 0/0): So glad for the chance to spread the word about #RStats to our #uted #CyberCorps. What an impressive group of kids and a great program! Thx @UENpd @AppleEDU @Iron_Schools @CVE1915 @Compunetbiz @sedck12 @SUUtbirds !  [↪](https://twitter.com/dataandme/status/995367983236112384)

<!-- -->

> **** (@; 0/0): Najbardziej angażujący tweet o #rstats w ciągu ostatnich 12h. https://t.co/NtxWgCKYtW  [↪](https://twitter.com/dataandme/status/995367046945890306)

<!-- -->

> **** (@; 0/0): @KerrieMengersen Congrats Jessie!, will it be available online?  [↪](https://twitter.com/dataandme/status/995366283418963968)

<!-- -->

> **** (@; 0/0): Hey @hadleywickham you did a great job last night talking about #purrr and functional programming in #rstats!  [↪](https://twitter.com/dataandme/status/995353818115162112)

<!-- -->

> **** (@; 0/0): Dr. GP Pulipaka
>
@gp_pulipaka
>
Introducing the Deep Learning Virtual Machine on #Azure. #BigData #DeepLearning #MachineLearning #DataScience #AI #Python #RStats #RLang https://t.co/dxJNbnAycf  https://t.co/kfNZgKg34p  [↪](https://twitter.com/dataandme/status/995349391094501376)

<!-- -->

> **** (@; 0/0): Timing in #rstats https://t.co/9A4D5gnzOf https://t.co/6a5gv6ISz4  [↪](https://twitter.com/dataandme/status/995349153789161472)

<!-- -->

> **** (@; 0/0): CRAN updates: Ball dtwclust pricesensitivitymeter https://t.co/y5W2NTKSXT #rstats  [↪](https://twitter.com/dataandme/status/995348483329622016)

<!-- -->

> **** (@; 0/0): New CRAN package PSM with initial version 0.8-12 https://t.co/0QdYpl5sce #rstats  [↪](https://twitter.com/dataandme/status/995348450303795201)

<!-- -->

> **** (@; 0/0): I need help in ggplot. #tidyverse #rstats https://t.co/GgR23H49N1  [↪](https://twitter.com/dataandme/status/995344157320282113)

<!-- -->

> **** (@; 0/0): @DaveBloom11 This is cool! Wish I could help, but this is beyond my knowledge. #rstats , please help Dave out!  [↪](https://twitter.com/dataandme/status/995343937404588032)

<!-- -->

> **** (@; 0/0): Is the sparklyr package pronounced "Spark-lee-ar" or like "sparkler"?
>
#rstats please retweet for visibility because I have something riding on the answer.  [↪](https://twitter.com/dataandme/status/995338339212554240)

<!-- -->

> **** (@; 0/0): How to read CSV with unequal number of items in each row into R #tidyverse #rstats https://t.co/bfVug9cp3o  [↪](https://twitter.com/dataandme/status/995337897766260736)

<!-- -->

> **** (@; 0/0): @northernned Fantastic! Great to see you giving it a shot and learning some new skills!  [↪](https://twitter.com/dataandme/status/995337185581850624)

<!-- -->

> **** (@; 0/0): Managing of Scheduled R script #tidyverse #rstats https://t.co/47dBKl789M  [↪](https://twitter.com/dataandme/status/995335359658643457)

<!-- -->

> **** (@; 0/0): Just did my ~100th pass through the Subsetting section of Advanced #rstats and I still learned a lot!
>
The applications of such a fundamental skill include looking up values; matching and merging;  bootstraping;  ordering; expanding aggregated counts.  [↪](https://twitter.com/dataandme/status/995333792247222272)

<!-- -->

> **** (@; 0/0): @revodavid That would be exciting! @ch9 @Microsoft
>
#rstats  [↪](https://twitter.com/dataandme/status/995329802910527489)

<!-- -->

> **** (@; 0/0): how can I write this ggplot code into plotly #tidyverse #rstats https://t.co/XVBL43vrua  [↪](https://twitter.com/dataandme/status/995327861438459904)

<!-- -->

> **** (@; 0/0): @RD99Mina Ou ou ou pusing pala berbi pala berbi ou ou ou #rstats  [↪](https://twitter.com/dataandme/status/995319088174977024)

<!-- -->

> **** (@; 0/0): @RD99Mina Ou ou ou pusing pala berbi pala berbi ou ou ou #rstats  [↪](https://twitter.com/dataandme/status/995319087478820865)

<!-- -->

> **** (@; 0/0): CRAN updates: hutils https://t.co/y5W2NTKSXT #rstats  [↪](https://twitter.com/dataandme/status/995318211376832513)

<!-- -->

> **** (@; 0/0): This is why I still use #rstats even though syntax like "<-" and "tapply" are physically painful to type for me. https://t.co/du1qhVbmlA  [↪](https://twitter.com/dataandme/status/995312653374541827)

<!-- -->

> **** (@; 0/0): bang bang apparently not working inside ggplot2 #tidyverse #rstats https://t.co/nOwL4CsHjz  [↪](https://twitter.com/dataandme/status/995311620363636736)

<!-- -->

> **** (@; 0/0): How to Download Modis Images Using R: An Operational Implementation With R studio #datascience #gis #opendata #rstats  https://t.co/erpC6C8g3w  [↪](https://twitter.com/dataandme/status/995298157318889472)

<!-- -->

> **** (@; 0/0): #mathquiz what comes next? 1, 2, 2, 4, 2, 4, 2, 4, 6, ... #math #Mathematics #rstats  [↪](https://twitter.com/dataandme/status/995297526478790662)

<!-- -->

> **** (@; 0/0): #rstats people, I need your help! I'm trying to build a #randomforest classifier (4 classes). When I plot the training it shows one class becoming accurate whilst the others diverge. Any ideas?  [↪](https://twitter.com/dataandme/status/995294588381356033)

<!-- -->

> **** (@; 0/0): Showcasing some of our research on spatial assessments of ecosystem health based on Earth Observation and Land Degradation Surveillance Framework (LDSF) field data using #rstats, #Shiny, #ggplot2 to participants from across Africa @ICRAF. https://t.co/EMiYsnIDnO  [↪](https://twitter.com/dataandme/status/995293549573951488)

<!-- -->

> **** (@; 0/0): How to make a density plot in R
>
https://t.co/mngS0MXIto
>
#rstats #data #datascience
>
via @Josh_Ebner  [↪](https://twitter.com/dataandme/status/995293253305020416)

<!-- -->

> **** (@; 0/0): @felix_mil_ See you there!  #rstats conferences are always the best!  [↪](https://twitter.com/dataandme/status/995292133518127104)

<!-- -->

> **** (@; 0/0): #revuedepresse Marketing et Technologies https://t.co/dwDfXr6KUz #rstats  [↪](https://twitter.com/dataandme/status/995287873275482112)

<!-- -->

> **** (@; 0/0): I was inspired by @FC_rstats to make some radar plots, here are my first attempts, Any feedback is welcome :D #ggplot2 #rstats https://t.co/luKu5LqYjZ  [↪](https://twitter.com/dataandme/status/995284232594313217)

<!-- -->

repository: batpigandme/twitter-blogdown

repo_name: batpigandme/twitter-blogdown


text:
# MultiplayerExtensions (PC Only) [![Build](https://github.com/Zingabopp/MultiplayerExtensions/workflows/Build/badge.svg?event=push)](https://github.com/Zingabopp/MultiplayerExtensions/actions?query=workflow%3ABuild+branch%3Amaster)
A Beat Saber mod that expands Beat Saber's multiplayer functionality. **This is a work in progress which has bugs.**

## Features
* Allows custom levels to be selected in private lobbies.
* Attempts to download missing songs from Beat Saver.
* Warns the user when a song is not on Beat Saver.
* Adds HUD configuration options.
* Kicks unmodded players when custom levels are enabled.
* 10 player lobbies __(BeatTogether Exclusive feature)__
* [Cool stats page](https://mpex.goobwabber.com)

## Installation
1. Ensure you have the [required mods](https://github.com/Zingabopp/MultiplayerExtensions#requirements).
2. Download the `MultiplayerExtensions` file listed under `Assets` **[Here](https://github.com/Zingabopp/MultiplayerExtensions/releases)**.
   * Optionally, you can get a development build by downloading the file listed under `Artifacts`  **[Here](https://github.com/Zingabopp/MultiplayerExtensions/actions?query=workflow%3ABuild+branch%3Amaster)** (pick the topmost successful build).
   * You must be logged into GitHub to download a development build.
3. Extract the zip file to your Beat Saber game directory (the one `Beat Saber.exe` is in).
   * The `MultiplayerExtensions.dll` (and `MultiplayerExtensions.pdb` if it exists) should end up in your `Plugins` folder (**NOT** the one in `Beat Saber_Data`).
4. **Optional**: Edit `Beat Saber IPA.json` (in your `UserData` folder) and change `Debug` -> `ShowCallSource` to `true`. This will enable BSIPA to get file and line numbers from the `PDB` file where errors occur, which is very useful when reading the log files. This may have a *slight* impact on performance.

Lastly, check out [other mods](https://github.com/Zingabopp/MultiplayerExtensions#related-mods) that work well with MultiplayerExtensions!

## Requirements
These can be downloaded from [BeatMods](https://beatmods.com/#/mods) or using Mod Assistant. **Do NOT use any of the DLLs in the `Refs` folder, they have been stripped of code and will not work.**
* SongCore v3.0.3+
* BeatSaverSharp v2.0.1+
* BeatSaberMarkupLanguage v1.4.5+
* SiraUtil 2.4.0+
* BeatTogether 1.1.0+ (Only required for 10 player lobbies)

## Troubleshooting
#### Custom Songs button not appearing
* Most of the time this is because you didn't install MultiplayerExtensions correctly, or are missing a required dependency (most likely SiraUtil or BeatSaverSharp).
  * Open `Beat Saber\Logs\_latest.log` and search the text for `MultiplayerExtensions`
  * If you see a line like `[WARNING @ 19:20:44 | IPA/Loader] MultiplayerExtensions is missing dependency<EMAIL_ADDRESS>that's what you need to fix.
  * In your log, there's a section where IPA lists loaded plugins. Check and make sure MultiplayerExtensions is listed there.
  ```
  [INFO @ 12:41:52 | IPA] Beat Saber
  [INFO @ 12:41:52 | IPA] Running on Unity 2019.3.15f1
  [INFO @ 12:41:52 | IPA] Game version 1.13.0
  [INFO @ 12:41:52 | IPA] -----------------------------
  [INFO @ 12:41:52 | IPA] Loading plugins from Plugins and found 25
  [INFO @ 12:41:52 | IPA] -----------------------------
  [INFO @ 12:41:52 | IPA] Beat Saber IPA (BSIPA): 4.1.3
  [INFO @ 12:41:52 | IPA] SiraUtil (SiraUtil): 2.1.0
  [INFO @ 12:41:52 | IPA] INI Parser (Ini Parser): 2.5.7
  [INFO @ 12:41:52 | IPA] BS_Utils (BS Utils): 1.6.3
  [INFO @ 12:41:52 | IPA] BeatSaberMarkupLanguage (BeatSaberMarkupLanguage): 1.4.1
  [INFO @ 12:41:52 | IPA] SongCore (SongCore): 3.0.2
  [INFO @ 12:41:52 | IPA] BeatSaverSharp (BeatSaverSharp): 1.6.0
  [INFO @ 12:41:52 | IPA] MultiplayerExtensions (MultiplayerExtensions): 0.2.0
  [INFO @ 12:41:52 | IPA] -----------------------------
  [INFO @ 12:41:52 | IPA] -----------------------------```
* If MultiplayerExtensions is loading and the Custom Songs button isn't showing up, you may need to do a fresh install of Beat Saber.

## Reporting Issues
* The best way to report issues is to click on the `Issues` tab at the top of the GitHub page. This allows any contributor to see the problem and attempt to fix it, and others with the same issue can contribute more information. **Please try the troubleshooting steps before reporting the issues listed there. Please only report issues after using the latest build, your problem may have already been fixed.**
* Include in your issue:
  * A detailed explanation of your problem (you can also attach videos/screenshots)
  * **Important**: The log file from the game session the issue occurred (restarting the game creates a new log file).
    * The log file can be found at `Beat Saber\Logs\_latest.log` (`Beat Saber` being the folder `Beat Saber.exe` is in).
* If you ask for help on Discord, at least include your `_latest.log` file in your help request.

## Contributing
Anyone can feel free to contribute bug fixes or enhancements to MultiplayerExtensions. Please keep in mind that this mod's purpose is to expand the functionality of official multiplayer, so we will likely not be accepting enhancements that require 3rd party servers. GitHub Actions for Pull Requests made from GitHub accounts that don't have direct access to the repository will fail. This is normal because the Action requires a `Secret` to download dependencies.
### Building
Visual Studio 2019 with the [BeatSaberModdingTools](https://github.com/Zingabopp/BeatSaberModdingTools) extension is the recommended development environment.
1. Check out the repository
2. Open `MultiplayerExtensions.sln`
3. Right-click the `MultiplayerExtensions` project, go to `Beat Saber Modding Tools` -> `Set Beat Saber Directory`
   * This assumes you have already set the directory for your Beat Saber game folder in `Extensions` -> `Beat Saber Modding Tools` -> `Settings...`
   * If you do not have the BeatSaberModdingTools extension, you will need to manually create a `MultiplayerExtensions.csproj.user` file to set the location of your game install. An example is showing below.
4. The project should now build.

**Example csproj.user File:**
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <BeatSaberDir>Full\Path\To\Beat Saber</BeatSaberDir>
  </PropertyGroup>
</Project>
```
## Donate
You can support development of MultiplayerExtensions by donating at the following links:
* https://ko-fi.com/goobwabber
* https://ko-fi.com/zingabopp

## Related Mods
* [BeatSaberServerBrowser](https://github.com/roydejong/BeatSaberServerBrowser)
* [MultiplayerAvatars](https://github.com/Goobwabber/MultiplayerAvatars)
* BeatTogether for [PC](https://github.com/pythonology/BeatTogether) or [Quest](https://github.com/pythonology/BeatTogether.Quest)

license: MIT

repository: rithik-b/MultiplayerExtensions

branch_name: refs/heads/master

extension: md

gha_language: C#

gha_license_id: NOASSERTION

license_type: permissive

repo_name: rithik-b/MultiplayerExtensions


text:
---
layout: default
---

# 1998-10-18 - EVEN MORE FREE PORN: STUFFED HAS 10 LINKS TO 100S OF FREE PICS, NEW EVERY DAY

## Header Data

From: STUFFED SUN OCT 18<EMAIL_ADDRESS>To: (OVER 100 FREE PICS DAILY!)

Message Hash: 72178545c4ed56b6a4faf52dc0fbde88be6859b36d73f3aa456b23d407eabae4

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1998-10-18 10:22:46 UTC

Raw Date: Sun, 18 Oct 1998 03:22:46 -0700 (PDT)

## Raw message

```
{% raw  %}From: STUFFED SUN OCT 18<EMAIL_ADDRESS>Date: Sun, 18 Oct 1998 03:22:46 -0700 (PDT)
To: (OVER 100 FREE PICS DAILY!)
Subject: EVEN MORE FREE PORN: STUFFED HAS 10 LINKS TO 100S OF FREE PICS, NEW EVERY DAY
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

+ 30 SUPERB, HI-RES, HOT PHOTOS
+ 5 SUPER SEXY STORIES
+ DISCO XXX
+ FREE GIRL SEX
+ NAKED N NASTY
+ GENERATION PORN
+ VIRTUAL EXTACY
+ TALENT SEARCH
+ ADRIA'S FRIENDS
+ STIFF ONE EYE
+ SWEET ASIAN PUSSY
+ BITCHES IN HEAT
+ BONUS PIC 1 -> http://www.stuffed.net/home/7649.htm
+ BONUS PIC 2 -> http://www.stuffed.net/home/31232.htm
+ BONUS PIC 3 -> http://www.stuffed.net/home/2818.htm
+ BONUS PIC 4 -> http://www.stuffed.net/home/2708.htm
+ BONUS PIC 5 -> http://www.stuffed.net/home/28665.htm
+ MUCH, MUCH MORE!

       ---->   http://stuffed.net/home/   <----

If you haven't visited STUFFED in the last few days,  you're
in for a real treat.  It's faster than  ever before and now,
as a subscriber,  you get 35 FREE new pics  every day,  plus
over 100 more at carefully selected FREE sites we link to.

This  email  is  never  sent  unsolicited.  Stuffed  is  the
supplement for the Eureka newsletter you subscribed to. Full
instructions on unsubscribing  are in every issue of Eureka!

       ---->   http://stuffed.net/home/   <----

{% endraw %}
```

## Thread

+ Return to [October 1998](/archive/1998/10)

+ Return to "[STUFFED SUN OCT 18 <stuffed@stuffed.net>](/authors/stuffed_sun_oct_18_stuffed_at_stuffed_net_)"

+ 1998-10-18 (Sun, 18 Oct 1998 03:22:46 -0700 (PDT)) - EVEN MORE FREE PORN: STUFFED HAS 10 LINKS TO 100S OF FREE PICS, NEW EVERY DAY - _STUFFED SUN OCT 18<EMAIL_ADDRESS>

gha_license_id: MIT


text:
# A Chatbot based on NLP and Transformer
**Mark Dyehouse, Yuchen Wang**

*Northwestern University*

## Introduction
The main goal of this project is to implement a chit-chat bot using Transformer, which is a state-of-art model with Attention based on the paper from Google Brain, ["Attention is All You Need"](https://arxiv.org/abs/1706.03762).

Through the command line interface, a can run the eval.py script and then interact with the chatbot by typing in prompts directly on the command line. Based on the data on which the model is trained, an appropriate response will be constructed and printed at the command line.

## Requirements
* Tensorflow
* NLTK
* Regex
* Numpy
* JSON
* GPU(not necessary, for optimized running)

## Data
One major part of this project is to collect and preprocess as much data as we could to feed into the model and improve the performance. There are several dataset source being used for this project: [Cornell Movie Dialogs Corpus](http://www.cs.cornell.edu/~cristian/Cornell_Movie-Dialogs_Corpus.html), Twitter Chat Corpus, Ubuntu Chat Dialogues and [Reddit Comment Threads](https://www.reddit.com/r/datasets/comments/3bxlg7/i_have_every_publicly_available_reddit_comment/).

All these raw data are in different formats, size, and storage methods. In order to apply all of these data to one model, we have to **pre-process** them.

## Pre-processing
NLTK and Regex have been the two mainly used tools for data pre-processing.

For separated-column-type text data (i.e. movie corpus), `nltk.tokenize` library or `split()` function from Regex could both easily split the raw text by space and retrieve the content of conversation. For nested JSON files (i.e. Reddit threads), `json.load()` and `string.filter()` functions could help finding useful json tags.

After removing non-related headers, tags and separators, we found that the text data still contains lots of non-Unicode characters which could raise error when training. In this case, we simply check each line and keep only alphabetical characters and basic symbols.

## File Structure

### ./transformer
This is the root directory of the project, containing Transformer modules, training script and evaluation script.

### ./transformer/chatbotData
This directory has all the raw data extracted from multiple sources, the preprocessing scripts and cleaned data.

### ./transformer/models
This directory is where the trained model being stored.

### ./media
This directory contains a demonstration. Check out the quick demo video [here](https://github.com/ThePenultimatum/shriekinDesparado/blob/dev/media/demo.mp4)

### ./processing
This is the directory containing all of the processing and data scraping scripts we used in order to construct the input prompts.txt and responses.txt files for training the model.

### ./scripts
This is a directory containing any shell runscripts. Currently, there is only trainAndPredict.sh which runs the preprocessing, training, and evaluation all in one script. This can be executed with the following command:
```bash
./trainAndPredict
```

## Getting Started

### Installing

Clone or fork this repo.

```bash
git clone https://github.com/ThePenultimatum/shriekinDesparado.git
```

Enter the directory. Ensure the data you want to train on is in the chatbotData directory. Or you can use the default hyperparameters just to test immediately.

Data will be in the format of two files for training.
prompts.txt and responses.txt
Each newline separated prompt and response in these files must be in order such that line 0 in each file corresponds to a prompt and response pair. If this is not the case, then the data will not be trained on properly.

* Run the preprocessing prepro.py
```bash
python prepro.py
```

* Run train.py
```bash
python train.py
```

* Then run eval.py
```bash
python eval.py
```

This will bring up a command line prompt for you to type something into the command line and hit enter. This will submit your text to the trained model for prediction and will return a response predicted based on the training data.

## Deployment
Using a pretrained model can expedite your chatbot experience. Here is a zip file with pretrained hyperparameters.
[Twitter Pretrained Model](https://drive.google.com/open?id=1Tk3K46neJPiC2KITnt_fhLSLhBL0F8p3)

This would be placed in the directory with eval.py when you run that.

## Contributing

If modifying or contributing to the transformer code, refer to Kyubyong Park's transformer repository contribution standards.

If contributing to the modifications in our project here, please follow the following steps:
* Fork the repository
* Add your modifications to either the dev branch or a branch off of the dev branch
* Make a pull request with informative descriptions

## Versioning

There is only one version as of now, and that is the version committed in the master branch.
Master branch commits define the versions, but we will be utilizing tags for versions soon.

## Authors

* **Yuchen Wang** - *Initial work* - [yuchnw](https://github.com/yuchnw)
* **Mark Dyehouse** - *Initial work* - [ThePenultimatum](https://github.com/ThePenultimatum)

See also the list of [contributors](https://github.com/ThePenultimatum/shriekingDesparado/contributors) who participated in this project.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

## Acknowledgments

* Google Brain team from the paper "Attention is All You Need" who originally detailed the Transformer model
* GitHub user [Kyubyong Park](https://github.com/Kyubyong) for his work on developing a usable [Transformer](https://github.com/Kyubyong/transformer) in Python
* Dr. Han Liu of Northwestern University

repository: ThePenultimatum/shriekinDesparado

repo_name: ThePenultimatum/shriekinDesparado


text:
# dicom-fhir-converter
DICOM FHIR converter is an open source python library that accepts a DICOM directory as an input.
It processes all files (instances) within that directory. It expects that directory will only contain files for a single study.
If multiple studies detected, an exception is raised.
Using the usual convention, if file cannot be read, it will be skipped assuming it is not a dicom file (no error raised).

This library utilizes the following projects:
- fhir.resources project (https://pypi.org/project/fhir.resources/) - used to create FHIR models
- pydicom (https://pydicom.github.io/) - used to read dicom instances

The library does not rely on the terminology service therefore, any coding that requires a look-up were coded with ```"userSelected=True"``` values.

## Usage

```
dicom2fhir.process_dicom_2_fhir("study directory")
```

The dicom file represents a single instance within DICOM study. A study is a collection of instances grouped by series.
The assumption is that all instances are copied into a single folder prior to calling this function. The flattened structure is then consolidated into a single FHIR Imaging Study resource.

## Structure
The FHIR Imaging Study id is being generated internally within the library.
The DICOM Study UID is actually stored as part of the "identifier" (see ```"system":"urn:dicom:uid"``` object for DICOM study uid.

The model is meant to be self-inclusive (to mimic the DICOM structure), it does not produce separate resources for other resource types.
Instead, it uses "contained" resource to include all of the supporting data. (See "subject" with ```"reference": "#patient.contained.inline"```

This approach will allow downstream systems to map inline resources to new or existing FHIR resource types replacing inline references to actual object within FHIR Server.
Until such time, all of the a data is included within a single resource.

### Sample Output
```
{
    "id": "011d5e1b-0402-445a-b417-21b86af500dc",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "ACSN",
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                    }
                ]
            },
            "use": "usual",
            "value": "DAC007_CRLAT"
        },
        {
            "system": "urn:dicom:uid",
            "value": "urn:oid:<IP_ADDRESS>.4.1.59<IP_ADDRESS>8629345.2009981611.1359218327649.129.0"
        }
    ],,
    "started": "2005-09-06T16:39:26",
    "status": "available",
    "subject": {
        "reference": "#patient.contained.inline"
    },
    "resourceType": "ImagingStudy"
    "endpoint": [
        {
            "reference": "file:///dcm1"
        }
    ],
    "modality": [
        {
            "code": "CR",
            "system": "http://dicom.nema.org/resources/ontology/DCM"
        }
    ],
    "numberOfInstances": 1,
    "numberOfSeries": 1,
    "contained": [
        {
            "id": "patient.contained.inline",
            "active": true,
            "gender": "unknown",
            "identifier": [
                {
                    "type": {
                        "coding": [
                            {
                                "code": "MR",
                                "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
                            }
                        ]
                    },
                    "use": "usual",
                    "value": "DAC007_CRLAT"
                }
            ],
            "name": [
                {
                    "family": "LastName",
                    "given": [
                        "Mary"
                    ]
                }
            ],
            "resourceType": "Patient"
        }
    ],
    "series": [
        {
            "bodySite": {
                "code": "CHEST",
                "userSelected": true
            },
            "instance": [
                {
                    "number": 1,
                    "sopClass": {
                        "code": "urn:oid:1.2.840.10<IP_ADDRESS>.1.1.1",
                        "system": "urn:ietf:rfc:3986"
                    },
                    "title": "DERIVED\\PRIMARY\\IT",
                    "uid": "<IP_ADDRESS>.4.1.59<IP_ADDRESS>8629345.2009981611.1359218327649.128.0"
                }
            ],
            "modality": {
                "code": "CR",
                "system": "http://dicom.nema.org/resources/ontology/DCM"
            },
            "number": 1,
            "numberOfInstances": 1,
            "started": "2005-09-06T16:39:28",
            "uid": "<IP_ADDRESS>.4.1.59<IP_ADDRESS>8629345.2009981611.1359218327649.130.0"
        }
    ]
}
```

repository: miracum/dicom-fhir-converter

gha_language: Python

repo_name: miracum/dicom-fhir-converter


text:
## treewidget for Django ##

Provides the model fields TreeForeignKey, TreeOneToOneField, TreeManyToManyField
for tree models with a tree widget for django. Uses `jstree` (thanks to vakata).

Tested with django-mptt and django-treebeard with Django 1.11 & 2.0.2.
It will not work with Django <1.11.

### Installation ###

- `pip install django-treewidget`
- place `'treewidget'` in `INSTALLED_APPS`
- for AJAX tree updates add the routes to your urls.py,
e.g. `url(r'^treewidget/', include('treewidget.urls'))`

### Usage ###

Just replace any foreign key, m2m or one2one tree model field with the provided counterpart.
jstree depends on jQuery to work. This module does not provide a jQuery version, use the
admin version or place your own version along with your other assets.

### Workarounds ###

If used in admin along with collapsed fieldsets, django's jQuery gets loaded to late
and jstree will fail to load. You can work around this issue by loading a separate jQuery
with `extend = False` at your admin class, example:

```python
class ExampleAdmin(admin.ModelAdmin):
    class Media:
        extend = False
        js = (
            'https://code.jquery.com/jquery-3.3.1.min.js',
        )
```

### Customization ###

The fields understand two additional arguments:

- **settings**: Dictionary containing the optional boolean values for 'show_buttons'
(shows "Expand", "Collapse" and "Selected" buttons), 'search' (for in-tree search),
'dnd' (drag and drop support) and 'sort' (apply tree order in frontend). Defaults to `{}`.
- **treeoptions**: Settings directly applied to `jstree`. Must be a JSON string, if given as
argument to a field, otherwise a python dictionary. Defaults to `treewidget.fields.TREEOPTIONS`.
Note that some widget settings will override treeoptions to keep working.

Both settings can be provided project wide in settings.py as `TREEWIDGET_SETTINGS` and
`TREEWIDGET_TREEOPTIONS`.

It is possible to render a deeper nested branch (subtree) by overriding the default
formatter. Just set the parent id to '#' for the branch's top level entries in the
formatter's `render` method.

**NOTE**: If you use a prefiltered queryset which data does not form a subtree
containing all parents up to the top level, jstree cannot render it correctly.
With 'filtered' in settings set to `True` those querysets will be rendered by
adding missing nodes as not selectable.

### Example ###
```python
from django.db import models
from mptt.models import MPTTModel
from treewidget.fields import TreeForeignKey

class Mptt(MPTTModel):
    name = models.CharField(max_length=32)
    parent = TreeForeignKey('self', blank=True, null=True, on_delete=models.CASCADE)

    def __str__(self):
        return self.name
```

Renders like this:

![screenshot](https://github.com/jerch/django-treewidget/raw/master/screenshot.png  "screenshot")

repository: jphilip/django-treewidget

repo_name: jphilip/django-treewidget


text:
![Publish Github Package](https://github.com/letsfullstack/loopback-connector-dynamodb/workflows/Publish%20Github%20Package/badge.svg)

# Loopback DynamoDB Connector

DynamoDB Connector for loopback (compatible with datasource-juggler).

## Contributing

:boom: In case you are making a commit for this package repository, **MAKE SURE TO READ AND UNDERSTAND THE FOLLOWING TOPICS**:

1\. Every commit that runs on the [master branch](https://github.com/letsfullstack/loopback-connector-dynamodb/tree/master) runs through the Publish Github Package Workflow on Github Actions. So **be sure to check if your code is well written and linted**, since it'll be published if the code passes the Continuous Integration (CI) linters. Testing wasn't properly performed in the original repository and still lacks proper corrections in this repo.

2\. If the commit passes through the Github Actions workflow, the module will be released as a package in the Github Packages Registry. This workflow has an [underlying command](https://github.com/phips28/gh-action-bump-version) that **increments/bumps the version from the latest release based on commit messages**, such as:

- If the string "BREAKING CHANGE" or "major" is found anywhere in any of the commit messages or descriptions, the **major version** will be incremented (i.e. 1.X.X).

- If a commit message begins with the string "feat" or includes "minor" then the **minor version** will be increased (i.e. X.1.X). This works for most common commit metadata for feature additions: "feat: new API" and "feature: new API".

- All other changes will increment the **patch version** (i.e. X.X.1).

3\. Furthermore, the workflow has also an underlying command that deploys automatically a new release when a success lint/deployment takes places. These releases can be found [here](https://github.com/letsfullstack/loopback-connector-dynamodb/releases).

## Installation

In your application root directory, enter this command to install the connector:

```shell
$ npm install @letsfullstack/loopback-connector-dynamodb
```

## Todo

- Usage description (how to usage)

- Fix unit tests

gha_language: JavaScript


text:
# miscellaneous
I plan to use this for random scripts and smaller projects.

## pinger.bat
Used to ping multiple computers and play a sound when one responds.

## folderwatcher.py
prints out changes to a folder. Polls every sec. Used for watching/logging of a shared folder.
## MPA.py
MPA is short for my personal assistant. This is just a mini framework for launching commands from the command line. But, right now it does not do anything.
Use:
>ping [computername or IP]
* runs the ping command for the IP address

>on [computername or IP]

>ping
* runs the ping command for the IP address, saves the IP for re-use.

>r [computername or IP] ipconfig
* runs the command on the remote PC.

>get [computername or IP] user
* gets the current user that is logged into the remote PC.

repository: bengjerstad/miscellaneous

repo_name: bengjerstad/miscellaneous


text:
# Ballerina Twitter Connector

[![Build](https://github.com/ballerina-platform/module-ballerinax-twitter/workflows/CI/badge.svg)](https://github.com/ballerina-platform/module-ballerinax-twitter/actions?query=workflow%3ACI)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/ballerina-platform/module-ballerinax-twitter.svg)](https://github.com/ballerina-platform/module-ballerinax-twitter/commits/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

[Twitter](https://twitter.com/) is a social networking service on which users can post and communicate with a status called "Tweets". Authenticated users can post, like, and retweet tweets. The main goal of Twitter is to connect people and to provide a platform for every person to express their thoughts to a large set of people freely.

This connector provides operations for connecting and interacting with Twitter endpoints over the network.
For more information about configuration and operations, go to the module(s).
- [`twitter`](twitter/Module.md)

## Building from the source
### Setting up the prerequisites

1. Download and install Java SE Development Kit (JDK) version 11. You can install either [OpenJDK](https://adoptopenjdk.net/) or [Oracle JDK](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html).

   > **Note:** Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

2. Download and install [Ballerina Swan Lake Beta3](https://ballerina.io/).

### Building the source
Execute the following commands to build from the source.

* To build the package:
    ```
    bal build -c ./twitter
    ```
* To build the package without tests:
    ```
    bal build -c --skip-tests ./twitter
    ```
## Contributing to Ballerina
As an open source project, Ballerina welcomes contributions from the community.

For more information, see the [Contribution Guidelines](https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md).

## Code of conduct
All contributors are encouraged to read the [Ballerina Code of Conduct](https://ballerina.io/code-of-conduct).

## Useful links
* Discuss about code changes of the Ballerina project via [ballerina-dev@googlegroups.com](mailto:ballerina-dev@googlegroups.com).
* Chat live with us via our [Slack channel](https://ballerina.io/community/slack/).
* Post all technical questions on Stack Overflow with the [#ballerina](https://stackoverflow.com/questions/tagged/ballerina) tag.

branch_name: refs/heads/main


text:
# downscaleCMIP6-infra-az-core

General managed infrastructure for CMIP6 downscaling project on Azure Cloud.

Change and provision resources by opening Pull Requests to the `master` branch.

## Things not covered by Terraform

Kubernetes internals are deployed from `/infrastructure/kubernetes/` using `argocd`.

### Creating Service Principal for Github Actions for container CI/CD

Terraform also does not handle some Active Directory and IAM tasks due to limited permissions. Because of this the
Service Principal (SP) used by Github Actions can be provisioned manually, along with permissions for the SP to push
containers to the container registry.

Read the full directions before running these commands.

```
# Some setup
RESOURCE_GROUP="myAzResourceGroup"
GROUPID=$(az group show \
  --name "${RESOURCE_GROUP}" \
  --query id --output tsv)

# Creates an RBAC SP. Note the output from this.
az ad sp create-for-rbac --scope $GROUPID --role Contributor --sdk-auth

# Based on output from the above command, fill out these:
REGISTRYNAME="myAzContainerRegistryName
CLIENTID="insertRealClientIdHere"
REGISTRYID=$(az acr show \
  --name "${REGISTRYNAME}" \
  --query id --output tsv)

# And give the new SP a "push" role to the registry.
az role assignment create \
  --assignee "${CLIENTID}" \
  --scope "${REGISTRYID}" \
  --role AcrPush
```

Now that I think about it, we might be able to skip much of this and just run

```
az ad sp create-for-rbac --scope "${REGISTRYID}" --role AcrPush --sdk-auth
```

Regardless, you pay attention to the output above and plug the values into *Secret* environment variable on the intended
Github repo: `ACR_PASSWORD`, `ACR_USERNAME`. `ACR_USERNAME` is `"clientId"` and `ACR_PASSWORD` is
`"clientSecret"` in the output from `az ad sp create-for-rbac`, above.


text:
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

BCD: Let’s Make Block Coordinate Descent Go Fast

Accepted in JMLR and ICML2023

[[Paper]](https://arxiv.org/pdf/1712.08859.pdf)

Experiments for Figures 4-13 in the paper
------------------------------------------

Run the following command to run the experiments for a specific figure

```python
python main.py -e <exp_group>
```

where exp_group can be either fig4, fig5, ..., or fig13.

## Citation
If you find the code useful for your research, please cite:

```bibtex
@Article{nutini2017let,
  title={Let's Make Block Coordinate Descent Go Fast: Faster Greedy Rules, Message-Passing, Active-Set Complexity, and Superlinear Convergence},
  author={Nutini, Julie and Laradji, Issam and Schmidt, Mark},
  journal={arXiv},
  year={2017}
}
```

repository: IssamLaradji/BlockCoordinateDescent

repo_name: IssamLaradji/BlockCoordinateDescent


text:
# AWS S3 Object Count

With this solution, you can check the object count of an AWS S3 Bucket via HTTP API.

You can use this HTTP endpoint to integrate the object count in a monitor system. It can be used to check S3 replication for example.

## Requirements

* Python 3 (tested with version 3.7.0)
* Node.js (tested with version 10.15.1)
* Serverless (tested with version 1.37.1)
* Serverless Plugins
  * AWS Pseudo Parameters (install via ```npm install serverless-pseudo-parameters```)
  * serverless plugin tracing (install via ```npm install serverless-plugin-tracing```)
  * serverless-api-gateway-xray plugin (install via npm install serverless-api-gateway-xray)

## Deploy the solution

1. Clone this repository
2. Deploy the solution to AWS with ```sls deploy```. Please note the API-ID and the X-API-Key in the output
3. Test the endpoint via ```curl -X GET 'https://<<gateway id>>.execute-api.<<region>>.amazonaws.com/dev/?s3BucketName=<<<bucket-name>>>' --header "X-Api-Key:<<<API-Key>>>"```

### Undeploy the solution

Just follow the next steps to undeploy the solution:

1. run ```sls remove``` to remove the solution


text:
# SelectSpecify
SelectSpecify is a jQuery-plugin that turns a select-element into a linking table that allows for an extra attribute, such as a keyword or any other extra attribute of the link.

![](https://github.com/blekerfeld/SelectSpecify/blob/master/docs/images/image1.PNG?raw=true)

## Requirements
* jQuery 1.3+
* Clone the repository (or alternativly download its content) and add `jquery.selectspecify.js` and `jquery.selectspecify.css` to your page

# Simple usage

## HTML

```html
<select class='example'>
  <option value='1'>Apple</option>
  <option value='2'>Pear</option>
</select>
```

#### Title
A title can be added by setting the `data-heading`-attribute of the original `<select>`-element.

## Javascript

```html
<script type='text/javascript'>
  $('.example').SelectSpecify();
</script>
```

### Getting the value

The links (and attributes) are stored inside a javascript object that can be accessed like this:

```html
<script type='text/javascript'>
  $('.example').data('storage');
</script>
```

After being send to the server, to PHP via AJAX for example, the example shown above (with 'apple' being selected, the being attribute 'cake'), looks like this:

```
array (size=1)
  0 =>
    array (size=2)
      'value' => string '1' (length=1)
      'keyword' => string 'cake' (length=4)
```

## Options

### Pre-loaded items

Preloading options is a bit more complex than just giving `selected` attributes to the options, because SelectSpecify allows the same option to be selected more than once. Preloaded options need to be specified seperatly within the select element like this:

```html
<select class='example'>
  <option role='load' data-value='1' data-attr='cake' />
  <option value='1'>Apple</option>
  <option value='2'>Pear</option>
</select>
```

`<option>` elements with a ` role='load' ` attribute, are rendered as pre-loaded values, the `data-value` attribute holds the value, that means there needs to be a regular option-element with the same value. The `data-attr` attribute holds the specification (i.e. the keyword).

### All available options

#### Attribute
There are three options related to the attribute (the extra bit of information on each link). `attributeName`, `attributeSurface` and `attributeElement`.

##### attributeName and attributeSurface

```javascript
{
	'attributeName': 'score',	// The name that is visable in the array returned
	'attributeSurface': 'Simularity score'	// The name that is rendered as label
}
```
##### attributeElement
Instead of a textbox holding the attributive value, any other element that is capable of holding a value is allowed. For example another `<select>`-element with predefined options might be provided:

```javascript
{
	'attributeElement': '<select>...</select>',
}
```

#### Theme and width
A theme class can be easily added by setting the `theme`-option. At the moment of writing no additional themes are shipped with SelectSpecify, but it is very much possible to create your own. Just copy the styles in `jquery.selectspecify.css` and add a theme class to the main-container (`select-specify.yourthemename`) and style how you like.

```javascript
{
	'theme': 'yourtheme',
}
```

The width is taken from the original `<select>`-element, `auto` is assumed if there is no width. The width can be overriden by giving `width` as an option:

```javascript
{
	'width': '20%',
}
```

#### Duplicates
By default duplicates are not allowed, that means that every option in the original select-element can only be selected and attributed once. Setting the option `noDuplicates` to `false` makes it possible to select the same option multiple times with different attributes.

```javascript
{
	'noDuplicates': false,
}
```

#### Select2-intergration
It is very easy to use SelectSpecify together with Select2, just set `select2` to `true` and specify any options for select2 in `select2options`.

```javascript
{
	'select2': true,
	'select2options': {
		// Any additional select2 options
	}
}
```

#### Placeholder
By default the placeholder is 'Add item', this can be changes through the `placeholder`-option
```javascript
{
	'placeholder': 'Add links',
}
```

#### Localisation
The strings inside the elements can be easily changed by setting some options.
```javascript
{
    itemLabelText: 'Item',
    addButtonText: 'Add',
    removeButtonText: 'Remove',
    saveButtonText: 'Save',
    placeholder: 'Add items',
}
```

repository: blekerfeld/SelectSpecify

repo_name: blekerfeld/SelectSpecify


text:
Readme Template

    This is a small template README.md file for your projects!

TEMPLATE.md

## Table of Contents

- [Intro](#intro)
- [Getting started](#getting-started)
- [Features](#features)
- [Usefull links](#usefull-links)
- [License](#license)
- [Author](#author)

## Intro

Writing the Readme is an integral part of writing a good program. Until you can put your thought in writing, you still can’t start writing code.

There must be a middle ground between the piles of technical specification papers and its absence, as such. And in fact it is. This golden mean is an inconspicuous and modest Readme file.

Consider the process of writing the Readme file for your project as a true act of creation. This is exactly the place where all your brilliant ideas should be expressed.

## Getting started

### Npm&Yarn install:

```bash
#Nostalgic
$ npm install @redeagle/readme-template

#Hipster
$ yarn add @redeagle/readme-template
```

### Clone the repo:

Clone the repo to get all source files as they are available on Github:

```bash
$ git clone https://github.com/redeagleap/readme-template.git

$ cd readme-template/
```

[⇧ back to top](#contents)

## Features

For the header of our `README.md`, we will use HTML markup to centralize the information. Like this:

These tags are used to better navigate the file:

[⇧ back to top](#contents)

## Usefull links

For the badges:

- [Badge.fury.io](https://badge.fury.io/)
- [Shields.io](https://shields.io/#/)

For markdown:

- [StackEdit](https://stackedit.io/app#)
- [MarkdownGuide](https://www.markdownguide.org/)

For Github:

- [gitmoji](https://gitmoji.carloscuesta.me/)
- [Github Octodex](https://octodex.github.com/)

For create awesome code pictures for your docs:

- [Carbon](https://carbon.now.sh/)

Like this:

[⇧ back to top](#contents)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

[⇧ back to top](#contents)

## Author

```txt
Readme Template made with love.
---------------------------------------
Author : Alexander Prisyazhnyuk

Email<EMAIL_ADDRESS>
Github : https://github.com/redeagleap/readme-template.git
```

[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)

[⇧ back to top](#contents)

repository: RedEagleAP/readme-template

repo_name: RedEagleAP/readme-template


text:
# regex4ocr

A simple library to plug regular expression models (Document Regex Models) to parse your favorite OCR string output and extract important fields
from the OCR picture.

## Built with

* Python 3.7.1 (but the library supports any Python 3.x);
* PyYAML for yml parsing;
* Tox and Pytest for testing.

## Document Regexp Model (DRM)

The DRM are yml files which describes the desired documents with many regular expressions. Those are used to extract the document data in order to transform the OCR results into a structured Python dict.

An example is as follows:

```yml
identifiers:
  - id_regexp_1
  - id_regexp_2
  - id_regexp_3
fields:
  key1: regexp1
  key2: regexp2
options:
  lowercase: true
  remove_whitespace: false
  force_ascii: true
  replace:
    - ['replace_regex_1', 'substituion_str_1']
    - ['replace_regex_2', 'substituion_str_2']
table:
  header: table header regex
  line_start: table row beginning regex
  footer: table footer regex
```

### DRM (Document Regexp Model) fields

In order for the OCR string of a picture to be parsed properly, a regexp expressions that model the given document picture must be set in a YML file. The following fields are allowed to model the OCR document data string:

```identifiers```: list of regexps that defines that this DRM should be used for the given OCR string. ALL regexp identifiers must match or the DRM will not be used for the given document. When using the ```regex4ocr.parse```function, a folder path to the folder which contains the yml DRMs is passed. Hence, if a DRM does not match the OCR document because not all the identifiers regexp were found in the OCR string, the next DRM in the folder will be tested until one is found.

```fields```: defines key and regexp pairs. The regexps will be matched against the OCR string in order to extract the desired data. The key names will be used in the final Python dictionary.
```options```: defines optional pre processing of the OCR string. Replaces in the OCR string can be performed, the OCR string can be lowercased, whitespace can be removed and non ascii characerts can be coerced to be closest ascii match, e.g, ```ç``` is cast to ```c```.

```table```: defines tabular data to be extract. Such data is very common on purchase receipts where the table header marks the beginning of the table such.
```header```: regexp which marks the header of the table data in the OCR string.
```line_start```: regexp that matches the beginning of EVERY new line of the table. The rows fields in the final dictionary requires this field.
```footer```: regexp that matches the end of the table data. This is used to stop trying to parse the table rows.

## Transform OCR images into structured data

This library allows one to convert the OCR result string to the following structured format:

```python
{
    "fields": {
        "user_defined_field_1": "result_1",
        "user_defined_field_2": "result_2",
    },
    "table": {
        "header": "table header",
        "all_rows": "row 1 result row 2 result",
        "rows": ["row 1 result", "row 2 result"],
        "footer": "table footer"
    }
}
```

## Installing and using

To install the library, just run pip install:

```bash
pip install regex4ocr
```

To use it, just import the library:

```python
import regex4ocr  # use the regex4ocr.parse function
from regex4ocr import parse  # import the parse function directly
```

### Parse function

This OCR string parsing library is based on one function: ```parse```. Use it as follows:

```python
from regex4ocr import parse

# ocr string is the result string generated by your OCR system (Google Vision, etc.)
# drms_folder_path is the os folder path to the folder which contains the yml DRM models
parse(ocr_string, drms_folder_path)
```

## Getting ready with local development

In a system with Python pip, install the dev requirements:

```bash
pip install -r requirements_dev.txt
```

To locally use the main parse function, create a Python module at the root of the project and import the parse function:

```python
import regex4ocr

regex4ocr.parse(ocr_result_string, folder_with_drms)
```

## Testing

Regex4ocr has been tested under Python 3.x environments with tox and pytest. In order to run such tests:

```bash
tox  # executes all tests for Python 3.0, 3.3, 3.5 and 3.7
```

To execute the tests for a single environment (faster testing):

```bash
tox -e 3.7
```

## Code Linting

This project uses the following linters:

* pylint;
* flake8;
* pep8.

Also, the code is formatted with the Black formatter (https://github.com/ambv/black). Some Black configuration can be found
at the ```pyproject.toml``` file.

## OCR and DRM example:

Given the following DRM which exists at a folder named ```drms```:

```yml
identifiers:
  - cupom fiscal
fields:
  cnpj: 'cnpj:\s*(\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2})'
  coo: 'coo:\s*(\d{6})'
  date: '\d{2}\/\d{2}\/\d{4}\s*\d{2}:\d{2}:\d{2}'
options:
  lowercase: true
  remove_whitespace: false
  force_ascii: true
  replace:
    - ['c00', 'coo']
    - ['c10', 'coo']
table:
  header: (item|iten)\s+codigo.*vl.*(?=\n)
  line_start: \n\d*.+\d+
  footer: total\s*r\$
```

And given the OCR string result from a picture (such as Google Vision, Tesseract OCR, etc.), import the
regex4ocr library and use its parse function in order to extract structured data (Python dict) from it:

```python
import regex4ocr  # import the library

# stores the OCR string result generated by a computer vision package (Google Vision, etc.)
ocr_result = """
cnpj: 11.123.456/0001-99
ie:111.111.111. 111
im: 123456-7
2570972078 17:54: ttccf 3045759 **** c00:047621
cupom fiscal
iten codigo descricao qid un vl unit r$ ) st vl item(r$)
17273 breit grossa -7mts" bunx373 ft 288 026
2 $17 pedra 1 (ht) 2unx84 694 f1
169 38g
003 515 cimento votoran todas as obras 50 kg
cred)
boun x 26.489 f1
794,676
total r$
1.247.07
cheque
1.247.09
troco r$
"""

# insert the path to a folder where the DRM (yml files) are stored
drms_folder_path = "./my_drms"

# generate structured data (JSON-like) from the unstructured OCR string
extracted_data = regex4ocr.parse(ocr_result, drms_folder_path)

# prints the result
print(extracted_data)
```

Here's the final result:

```python
{
    "fields": {
        "cnpj": "11.123.456/0001-99",
        "coo": "047621",
    },
    "table": {
        "header": "iten codigo descricao qid un vl unit r$ ) st vl item(r$)",
        "all_rows": "\n17273 breit grossa -7mts bunx373 ft 288 026\n2 $17 pedra 1 (ht) 2unx84 694 f1\n169 38g\n003 515 cimento votoran todas as obras 50 kg\ncred)\nboun x 26.489 f1\n794,676\n",
        "rows": ["17273 breit grossa -7mts bunx373 ft 288 026", "2 $17 pedra 1 (ht) 2unx84 694 f1", "169 38g", "003 515 cimento votoran todas as obras 50 kg cred) boun x 26.489 f1794,676"],
        "footer": "total r$"
    }
}
```


text:
# scylla-todo
A work in progress.

Eventually a simple bare bones todo app backed with a scylla persistence layer.

## Getting Started (on Mac)

1. Check out the repository onto your machine.
1. Install [VirtualBox 5.0](http://download.virtualbox.org/virtualbox/5.0.24/VirtualBox-5.0.24-108355-OSX.dmg).
    * NOTE: Vagrant does not currently support VirtualBox 5.1!
    * Check [here](https://www.vagrantup.com/docs/virtualbox/) for supported virtual box providers.
1. Install [VS Code](https://code.visualstudio.com/Download).
1. Install [Vagrant](https://www.vagrantup.com/downloads.html).
1. Install [Ansible](http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip).
1. Install VS Code Extensions and set up .Net Core:
    1. Open VS Code
    1. Find the extension icon on the leftmost navigation bar
    1. Search for "C#" and install
    1. Install .Net Core (See [the .Net Core Getting Started Guide](https://www.microsoft.com/net/core#macos) for more info)
        1. Install [Homebrew](http://brew.sh/)
        1. Update & Install prerequisites:
           * run `$ brew update`
           * run `$ brew install openssl`
           * run `$ brew link --force openssl`
        1. Download and install the official [.Net Core Installer](https://go.microsoft.com/fwlink/?LinkID=809124)
1. Install Vagrant Box:
    1. run `$ cd ./path/to/where/you/checked/out/the/repository`
    1. run `$ sudo vagrant box add puppetlabs/centos-7.2-64-nocm --provider virtualbox`
1. Make sure your setuptools are up to date:
    1. run `pip install --upgrade setuptools --user python`
1. Bring up your environment:
    1. run `$sudo vagrant up`

repository: AndrewBorrasso/scylla-todo

repo_name: AndrewBorrasso/scylla-todo


text:
---
layout: post
title: "literate_haskell"
date: 2013-03-15 14:51
comments: true
categories: test
---

This is a literate haskell test

Recursion
---------

This recursive fib function was written using guards

> fibr :: Integer -> Integer
> fibr n
>   | n == 0 = 0
>   | n == 1 = 1
>   | n > 1 = fibr (n-1) + fibr (n-2)

Now lets test a gist:

{% gist 3141563 %}

extension: markdown


text:
## Datasets
Here you will find the nutrition dataset in different database formats

- `nutrition-sql.zip` This is a zip with sql scripts to both create the nutrition table(s) and insert the data (should work universally on most platforms). If you want to setup a Postgres, MySQL, or other database, these should work pretty universally.

- `nutrition.db` This is a SQLite3 database that you can use for local development and testing.

- `nutrition-mssql.bacpac` This is a Microsoft SQL Server BACPAC file of the dataset. You can use SSMS to "Import Data-Tier Application" and import the .bacpac file to create a new database. You can also name the database whatever you want.

## What am I supposed to do with these?

- Use the SQLite database during local and early development of your application since it is the easiest to get started with
  - this approach allows you to develop your SQL queries quickly and easily
  - its generally faster debugging, and requires NO internet connection
  - A good tool to use with a SQLite database is: [http://sqlitebrowser.org/](http://sqlitebrowser.org/), you can use it to browse the data in the tables, write SQL queries, and generally get an understanding of how the database works
- As you get a database server setup, you can move to using your SQL queries against that database

## How do I setup a Database Server?

    - MySQL, Postgres, Microsoft SQL Server, Oracle, MongoDB, and others are all options. Some are easier to get setup than others. Also, some will not be available inside the Azure Data Center that your application is hosted in.

###MS SQL Server Setup Instructions:
1. Follow [these instructions](https://azure.microsoft.com/en-us/documentation/articles/sql-database-get-started/) to create an Azure-hosted SQL Server Database
    - If you screw it up, just delete it and start again
    - A good pricing/size for your Database is `S0` or `S1` - don't go higher than that bc you only have $100/month to play with
    - Pay attention to the firewall part if you want to connect to this Database from home or school
2. Now you need to connect to this database to create the tables and insert the data. To do that, you'll want a decent GUI tool.
    - Find a good desktop GUI for working SQL Server like:
        - [http://www.heidisql.com/](http://www.heidisql.com/)
        - [SQL Management Studio](http://www.hanselman.com/blog/DownloadSqlServerExpress.aspx) (SQL Server 2014 Management Studio Download)
3. Use the SQL Scripts from the `.zip` file above
    - Copy the contents from  `create_table.sql` into your Desktop GUI, and execute the SQL statement
    - Copy the contents from  `insert_data.sql` into your Desktop GUI, and execute the SQL statement (you might have to break it up into chunks since the file is >8k lines long)


text:
# Parity Multisig Wallet Hack Study

This repo was used to experiment with and capture notes on the Parity hack smart contract vulnerability as part of a Udacity course.

In typical, smart contract programming, the coder has to consider a new set of problems beyond the typical programming language:  security and network resource usage (Ethereum gas).  In many cases, an individual contract does not have a vulnerability.  ***Its interaction with other contracts is where a flaw can be created.***

On the Parity Multisig Wallet version 1.5+, hackers found a vulnerability causing a loss of $30M Ether ($ETH).  [Here](https://etherscan.io/address/0xb3764761e297d6f121e79c32a65829cd1ddb4d32#internaltx) is the wallet the hacker used to divert funds.

Parity created a contract to help users efficiently create wallets, since their functionality is often needed-- like a library.  The vulnerability is created from the interaction of the Wallet contract to a Library through a fallback function ***which then provides access to delegate calls for any address.***

## Delegate calls

Delegate calls allow a function from another contract to be called from inside the current contract -- similar to how libraries work.

## Fallback functions

Each contract can only have 1 fallback function and they are unnamed.  It's similar to a final ```else``` condition in an if statement used to direct any exceptions.  Perhaps, if there is a spelling error in a function call, the fallback function could catch it.  If a user tries to call a function that isn't in the contract, the fallout will catch it.

## Putting them together

The wallet sends all unmatched function calls to the library using ```delegatecall```.  All public functions from the library are now callable by anybody.  To prevent the vulerability, the contract could have avoided putting the delegate call in the fallback function to serve as a catch.   The fallback function does not have the modifier to check

Somebody could call the Wallet contract with the name of a function that only exists in the referenced library.  In this example, the addOwner() function is accessible to the public via the fallbackfunction.


text:
Pokedex CLI

Interface
- Greets user
- Gives list of commands to call Pokemon
    - Name
        - See evolutions
        - Get Pokemon stats
    - Type
    - Generation

To DO
- build UI
- add stats to pokemon instances
- pull instances from Pokemon class

repository: pbedrosian/PokemonCLI

repo_name: pbedrosian/PokemonCLI


text:
# Archer Changelog

### 1.1.4 (2014-02-17)

* **[FIXED]** The `travis:build` command no longer publishes artifacts when building a PR from a branch on the main repository
* **[FIXED]** Updated to [Woodhouse 0.5.2](https://github.com/IcecaveStudios/woodhouse/releases/tag/0.5.2), to fix an [artifact publication issue](https://github.com/IcecaveStudios/woodhouse/issues/38)

### 1.1.3 (2014-02-10)

* **[FIXED]** Documentation generation no longer fails if a project does not have a `src` folder
* **[IMPROVED]** Archer no longer forces use of PSR-0 autoloading for the `test/src` folder, allowing for PSR-4 (or anything else)
* **[IMPROVED]** Updated autoloader to [PSR-4](http://www.php-fig.org/psr/psr-4/)
* **[IMPROVED]** Reverted `apt-get update git` in `travis:build` as the Git version on Travis CI has been restored to 1.8.x

### 1.1.2 (2014-01-21)

* **[FIXED]** Automatic creation of `gh-pages` branch no longer fails due to unsupported Git version (see [travis-ci/travis-ci#1710](https://github.com/travis-ci/travis-ci/issues/1710))

### 1.1.1 (2014-01-08)

* **[FIXED]** Updated to [Woodhouse 0.5.1](https://github.com/IcecaveStudios/woodhouse/releases/tag/0.5.1), which includes some minor fixes

### 1.1.0 (2013-10-14)

* **[FIXED]** The `update` command now configures Travis CI to publish artifacts under the most recent PHP version supported
* **[FIXED]** Updated bundled [Asplode](https://github.com/eloquent/asplode) to latest version, this fixes issues with `symfony/process` 2.3.5+
* **[IMPROVED]** Increased timeouts rather generously when running coverage reports
* **[NEW]** Added test groups `exclude-by-default` and `exclude-from-coverage` to PHPUnit configuration files
* **[NEW]** Added `--always-publish` optiont to `travis:build` to force publication of test artificats even when Coveralls is enabled

### 1.0.1 (2013-10-01)

* **[WORKAROUND]** Pinned `symfony/process` below version 2.3.5 to work around issues with strict error reporting and error suppression

### 1.0.0 (2013-09-09)

* **[FIXED]** The `update` command no longer fails when run against a non-GitHub repository (however only dotfile updates are supported)

### 1.0.0-alpha.3 (2013-09-08)

* **[BC]** Removed support for 'lib' folders for consistency, 'src' is now the only supported folder for source and test fixtures
* **[BC]** Test coverage artifacts are only published if Coveralls support is disabled
* **[BC]** Archer no longer publishes build status images (use Travis CI dynamic images instead)
* **[NEW]** Added INI directives to enable PHP 5.5 opcode cache while running tests
* **[IMPROVED]** Coverage badges now use the 'buckler' theme

### 1.0.0-alpha.2 (2013-07-30)

* **[IMPROVED]** Travis CI installation script now runs `composer self-update` before installing dependencies
* **[FIXED]** Minor PHP version constraints are now checked correctly when building Travis CI configuration file

### 1.0.0-alpha.1 (2013-07-08)

* **[NEW]** Integration with [Coveralls](https://coveralls.io/) for hosted test coverage reports
* **[NEW]** `--open` option on `coverage` and `documentation` commands automatically opens generated content in browser
* **[IMPROVED]** `update` command now uses PHP version constraint in `composer.json` to limit Travis CI builds to supported versions

### 0.5.0 (2013-06-24)

* **[NEW]** GitHub API rate-limiting headers are now output to the terminal during the Travis CI installed step
* **[IMPROVED]** Removed PHP v5.5 from the 'allow_failures' section of the Travis CI configuration file, as it is now a stable release

### 0.4.2 (2013-06-05)

* **[FIXED]** Generating API documentation will now overwrite existing documentation

### 0.4.1 (2013-05-29)

* **[IMPROVED]** API documentation title generated from the namespace name instead of the Composer package name.
* **[IMPROVED]** API documentation menu opens to the project's root namespace level by default.

### 0.4.0 (2013-05-27)

* **[NEW]** New `documentation` command uses [Sami](https://github.com/fabpot/Sami) to generate HTML API documentation
* **[NEW]** HTML API documentation is published along with coverage information when building under Travis CI

### 0.3.1 (2013-04-30)

* **[FIXED]** Disabled sub-process timeout that caused long running tests to fail
* **[FIXED]** Added User-Agent header to GitHub API client [as required](http://developer.github.com/changes/2013-04-24-user-agent-required)

### 0.3.0 (2013-03-27)

* **[NEW]** Added JUnit XML reporting to PHPUnit configuration
* **[IMPROVED]** Disabled notify-on-install in Composer configuration (prevents inflated installation numbers on packagist)

### 0.2.1 (2013-02-26)

* **[BC]** Removed PHP v5.3.3 from Travis CI build configuration

### 0.2.0 (2013-02-21)

* **[FIXED]** Pull-request builds no longer fail due to unavailable secure environment variables
* **[IMPROVED]** Update command will now add Archer-specific entries to .gitignore and .gitattributes if the files already exist
* **[IMPROVED]** Unified oauth/no-oauth Travis CI configurations into a single YAML template

### 0.1.2 (2013-02-17)

* **[FIXED]** Updated to [Woodhouse 0.4.2](https://github.com/IcecaveStudios/woodhouse/releases/tag/0.4.2), allows automatic creation of gh-pages branch

### 0.1.1 (2013-02-16)

* **[FIXED]** Updated to [Woodhouse 0.4.1](https://github.com/IcecaveStudios/woodhouse/releases/tag/0.4.1), adds user.name/user.email to git config

### 0.1.0 (2013-02-14)

* Initial release

repository: pauljriley/archer

repo_name: pauljriley/archer


text:
---
num: "Lecture 4"
desc: "Immutable vs. Immutable, Python Testing"
ready: true
date: 2018-01-25 14:00:00.00-7:00
---

```python
# CS 8, 1-25-18

''' Mutable vs Immutable Types

- Lists in Python are MUTABLE (can change them in place)
'''
"""
# Example

L = [10, 20, 30, 40]
print(L)
L[2] = 300
print(L)

T = (10, 20, 30, 40)
print(T)
#T[2] = 300 # ERROR, tuples are IMMUTABLE
T = (10, 20, 300, 40)
print(T)

school = "UCSB"
#school[3] = "D" #ERROR, strings are IMMUTABLE
school = "UCSD"

from collections import namedtuple
Book = namedtuple('Book', 'title author')
b1 = Book("Harry Potter", "Rowling")
print(b1)
#b1.author = "J.K. Rowling" # ERROR, namedtuples are IMMUTABLE

''' seems intuitive to do something like changing an
attribute, but it's illegal because namedtuples are
IMMUTABLE.
'''

# Q: How can we change it?
# 1: Create a new object and reassign to variable
b1 = Book(b1.title, "J.K. Rowling")
print(b1)

# 2: Use a _replace method
b1 = b1._replace(author="Rowling")
# ._replace returns a new namedtuple and we assign back
# to the variable b1
print(b1)

''' Q: Why should we even care?
- It's the behavior of the language!
- Depending on whether or not something is immutable or
mutable, it affects how the data is treated when passing
it into a function.
'''

def add_to_end(s, i):
    ''' Returns a string with i appended to s '''
    s = s + i
    return s

name = "Richert"
print(add_to_end(name, "!"))
print(name)

# When immutable types are changed in a function, a local
# COPY of the data is made and used within the function.
# Once the function returns, the immutable variable
# does not change (See Chapter 3.5)

def add_to_list(L, i):
    ''' Returns a list with value i appended to it '''
    L.append(i)
    return L

someList = [2, 4, 6, 8]
print(someList)
print(add_to_list(someList, 10))
print(someList)

''' When mutable values are passed into a function,
the actual value is modified '''

''' "None" return type '''

# If a function does not return a value, then
# the "data" is "None".

# It's up to the developer to decide if a function should
# or should not return data depending on the intention
# of using the function

# Example
# print() # print function returns None
print(print()) # print(None) -> None

# Function that returns None
def noReturn():
    ''' prints and returns nothing '''
    print("in Function noReturn()")
    # return optional, but None is returned if there isn't a value

print(noReturn())
"""
''' Python Testing '''

# Software testing is essential to ensure behavior works
# as expected.

# Assert statements can be scattered throughout your code
# If an assert statement fails (i.e. not True), then
# your program execution terminates.

"""
print("1st line")
assert 3 == 3 # Test passes, resumes execution.
print("2nd line")

def double(n):
    ''' Returns 2 * n '''
    return 2 * n

assert double(5) == 10
assert double(-2) == -4
assert double("UCSB") == "UCSBUCSB"
"""

'''pytest is a formal testing framework for python'''
def double(n):
    return 2 * n

def test_double_5():
    assert double(5) == 10

def test_double_negative():
    assert double(-2) == -4

def test_double_list():
    assert double([1,2]) == [1,2,1,2]

def test_double_string():
    assert double("UCSB") == "UCSBUCSB"

''' running pytest on functions that start with "test_" and have
an assert statement will "automate" execution of all tests and
show which ones passed and which ones failed.

- Important since this ensures software is working as expected if
many people try to modify the code at the same time
'''

''' import vs. from '''
- Not much of a difference behind-the-scene, but affects naming.

# "import" Example:
import math # gives us access to functionality in the math library

print(math.sqrt(4)) # how to use a math library function.

# "from" Example:
from math import sqrt

print(sqrt(4)) # no need to use "math." when calling sqrt function

'''
- We can "import" our own code in a file using the file name without
the ".py" extension.
- Good for organizing our code in a modular fashion.
	- Can organize all tests within a file and import functionality
	into the file running the tests.
'''

```


text:
# Neovim for development

You can find in that repo all of my Neovim configs.

## Screenshot of how it looks

<img alt="Neovim screenshot" src="images/neovim_rice.png" height="450" >

## How to install ?

1- Just put the nvim folder into your `~/.config` folder \
2- Then open neovim with `nvim` \
3- Install all plugins with `:PlugInstall` \
4- Then refresh your vim config with `:so %`

repository: tsiory/neovim-config

repo_name: tsiory/neovim-config


text:
# Establishing Norms

## What does this group do when two or more members disagree (ex. on a technical approach, a technology choice, etc)?
- The whole group gets involved to make a decision

## What does this group do when a member is frustrated?
- Bring it up to the team sooner rather than later, feel comfortable in telling everyone on the team that you are frustrated

## What does this group do when we merge our work together?
- Merge it together
- Do a “code reading” after the morning stand-up; read your code out loud to the team line-by-line

## When does this group ask for help?
- After 15 minutes, as soon as you think it’s a waste of time to not ask for help
- Ask the rest of the group but if they don’t have an answer…
- Help ticket

## How do we pair? What do we do when two group members pair with each other?
- On a feature basis when we think we need to pair, not a fixed amount of time but try to be balanced (at 30 min, bring it up...)

## How does this group approach work "after hours" (i.e. after normal class hours and weekends)?
- If you plan on working afterwards, try to make it clear to each other what you’re going to do… avoid repeat work.

## What time does this group have daily stand up?
- First thing in the morning, right after lunch both good times
- Touchbase at 4 MST / 5 CST / 6 EST

repository: Hangry-App/Hangry

repo_name: Hangry-App/Hangry


text:
# Channel Decorators

SmallRye Reactive Messaging supports decorating reactive streams
of incoming and outgoing channels for implementing cross-cutting
concerns such as monitoring, tracing or message interception.

Two symmetrical APIs are proposed for decorating publisher and subscriber channels,
{{ javadoc('io.smallrye.reactive.messaging.PublisherDecorator') }}
and {{ javadoc('io.smallrye.reactive.messaging.SubscriberDecorator') }} respectively.

!!!Important
    `@Incoming` channels and channels bound to an outbound connector are both `Subscriber`s.
    Conversely `@Outgoing` channels and channels bound to an inbound connector are `Publisher`s.

For example, to provide a decorator which counts consumed messages from incoming connector,
implement a bean exposing the interface `PublisherDecorator`:

``` java
{{ insert('decorators/ConsumedMessageDecorator.java', 'code') }}
```

Decorators' `decorate` method is called only once per channel at application deployment when graph wiring is taking place.
Decorators are very powerful because they receive the stream of messages (Mutiny `Multi<Message<?>>`)
and potentially return a new stream of messages.

Note that if a decorator is available it will be called on every channel.
The `decorate` method receives the channel name and whether the channel is a connector or not as parameters.
Decorators are called ordered from highest to lowest priority (from the least value to the greatest),
obtained using the `jakarta.enterprise.inject.spi.Prioritized#getPriority` method.

!!!Note
    The `SubscriberDecorator` receive a list of channel names because `@Incoming` annotation is repeatable
    and consuming methods can be linked to multiple channels.

## Intercepting Outgoing Messages

Decorators can be used to intercept and alter messages, both on incoming and outgoing channels.
Smallrye Reactive Messaging provides a `SubscriberDecorator` by default to allow intercepting outgoing messages for a specific channel.

To provide an outgoing interceptor implement a bean exposing the interface {{ javadoc('io.smallrye.reactive.messaging.OutgoingInterceptor') }}, qualified with a `@Identifier` with the channel name to intercept.
Only one interceptor is allowed to be bound for interception per outgoing channel.
If no interceptors are found with a `@Identifier` but a `@Default` one is available, it is used.
When multiple interceptors are available, the bean with the highest priority is used.

``` java
{{ insert('interceptors/MyInterceptor.java') }}
```

An `OutgoingInterceptor` can implement these three methods:

- `Message<?> onMessage(Message<?> message)` : Called before passing the message to the outgoing connector for transmission.
The message can be altered by returning a new message from this method.
- `void onMessageAck(Message<?> message)` : Called after message acknowledgment.
This callback can access `OutgoingMessageMetadata` which will hold the result of the message transmission to the broker, if supported by the connector. This is only supported by MQTT and Kafka connectors.
- `void onMessageNack(Message<?> message, Throwable failure)` : Called before message negative-acknowledgment.

!!!Note
    If you are willing to adapt an incoming message payload to fit a consuming method receiving type,
    you can use `MessageConverter`s.

repository: smallrye/smallrye-reactive-messaging

gha_language: Java

repo_name: smallrye/smallrye-reactive-messaging


text:
# Vue Automatic Router
Inspired with NuxtJS routing this package add the similar system to native VueJS project.
That is mean that it does not need to change routing by developer.
Instead, routes will be added automatically once you add
a new page into views directory.

## Installation
```
npm install --save vue-automatic-router
```

main.js should be changed as

Vue 2

```
const init = async() => {
  const module = await import('vue-automatic-router');
  const router = await module.default;
  new Vue({
    router,
    render: h => h(App)
  }).$mount('#app');
};

init();
```

Vue 3
```
const init = async() => {
  const module = await import('vue-automatic-router')
  const router = await module.default
  createApp(App)
    .use(router)
    .mount('#app')
}

init()
```

## How to add new pages
Automatic router will read your `views` directory and create appropriate routes.
For example:
```
--views
----index.vue
```
will create a next routes
```
[{
    path: '/',
    name: 'Index',
    component: () => import('@/views/index.vue'),
    meta: {
        layout: 'AppDefaultLayout'
        middlewares: {}
    },
    children: []
}]
```
To create more difficult structure, see next example:
```
--views
----index
------index.vue
------user.vue
----profile.vue
```
```
[
    {
        path: '/',
        name: 'Index',
        component: () => import('@/views/index.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: []
    },
    {
        path: '/user',
        name: 'User',
        component: () => import('@/views/user.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: []
    },
    {
        path: '/profile',
        name: 'Profile',
        component: () => import('@/views/profile.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: []
    }
]
```

If you need dynamic parameter in your view, it needs to start your component with `_`
For example:
```
--views
----posts
------index.vue
------_id.vue
```
will create next structure
```
[
    {
        path: '/',
        name: 'Posts',
        component: () => import('@/views/posts/index.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: []
    },
    {
        path: '/posts/:id',
        name: 'PostsId',
        component: () => import('@/views/posts/_id.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: []
    }
]
```
To add children (nested routes) to your should start your route with `^` on the same level as the parent
```
--views
----index
------index.vue
------^post.vue
```
```
[
    {
        path: '/',
        name: 'Index',
        component: () => import('@/views/index.vue'),
        meta: {
            layout: 'default'
            middlewares: {}
        },
        children: [
            name: 'Post',
            path: '/post',
            component: () => import('@/views/^post.vue'),
            meta: {
              layout: 'default',
              middlewares: {}
            }
        ]
    }
]
```

Note restriction: it is not possible now to add second level children

## Layouts and middlewares

Vue automatic router allows you to specify layouts and middlewares inside your component.

To add layouts to the project read this article:

https://itnext.io/vue-tricks-smart-layouts-for-vuejs-5c61a472b69b

After that it is possible to add your layout into vue components
```
export default {
  name: 'Login',
  layout: 'MyLayout'
}
```
Vue automatic router is looking for the layout "MyLayout.vue" in '/layouts' directory and add it to the route.

It is possible to add vue router middlewares in a vue component.

Here is middleware example
```
export default function myMiddleware({ next }) {
  return next();
}
```
```
import myMiddleware from '...'

export default {
  name: 'Login',
  middlewares: { myMiddleware },
}
```
Note: middlewares option must be an JS object

Read more about navigation guards here
https://router.vuejs.org/guide/advanced/navigation-guards.html

repository: celina-ijs/vue-auto-router

repo_name: celina-ijs/vue-auto-router