uncleflo

profile picture

Some cool dude. Higher order of decision making. Absolute.

Registered since September 28th, 2017

Has a total of 3439 bookmarks.

Showing top Tags within 252 bookmarks

development   howto   information   guide   reference   administration   website   software   design   solution   linux   business   service   server   web   online   code   uk   tool   application   system   blog   list   data   tutorial   description   article   video   security   technology   company   windows   world   explanation   product   download   free   javascript   network   project   lookup   experience   london   performance   file   library   tools   create   research   php   programming   control   html   build   support   opensource   example   beautiful   technical   learn   community   image   music   computer   dance   database   share   browser   mobile   webdesign   user   internet   platform   feature   hardware   work   money   css   quality   install   3d   search   camera   access   course   event   source   standard   manage   management   travel   developer   phone   client   test   story   api   marketing   script   simple   review   google   documentation   fast   digital   communication   usa   question   interface   cheap   advice   content   photography   program   youtube   app   setup   account   professional   idea   device   study   startup   process   live   installation   profile   monitor   buy   develop   market   media   resource   customer   industry   analysis   flash   ubuntu   social   inspiration   speed   package   compare   js   framework   cloud   photo   university   graphics   personal  


Tag selected: code.

Clear all

Showing 252 results.

Looking up code tag. Showing 252 results. Clear

Semantic UI - User Interface is the language of the web

https://semantic-ui.com/

Saved by uncleflo on May 24th, 2019.

Semantic is a development framework that helps create beautiful, responsive layouts using human-friendly HTML. Semantic comes equipped with an intuitive inheritance system and high level theming variables that let you have complete design freedom. Develop your UI once, then deploy with the same code everywhere. Semantic UI treats words and classes as exchangeable concepts.

bootstrap responsive browse code layout html system theme variable design freedom develop exchange concept class create control designer developer development practical workflow howto equipment present css website language


Waterfall model - Wikipedia

https://en.wikipedia.org/wiki/Waterfall_model

Saved by uncleflo on January 18th, 2019.

The waterfall model is a relatively linear sequential design approach for certain areas of engineering design. In software development, it tends to be among the less iterative and flexible approaches, as progress flows in largely one direction ("downwards" like a waterfall) through the phases of conception, initiation, analysis, design, construction, testing, deployment and maintenance. The waterfall development model originated in the manufacturing and construction industries; where the highly structured physical environments meant that design changes became prohibitively expensive much sooner in the development process. When first adopted for software development, there were no recognized alternatives for knowledge-based creative work.

waterfall iterative incremental phase linear revise agile code structure verify conflict documentation software acknowledge initiation specification model test discrete modify howto methodology system design approach development method administration administrator supervisor business workflow


Merchant Fulfillment API Section Client Library - PHP - Version 2015-06-01

https://developer.amazonservices.com/doc/merchantfulfillment/merchantfulfillment/v20150601/php.html

Saved by uncleflo on January 18th, 2019.

The library comes with code samples for each operation of the API section. To get started with the library, follow the steps on this page. Source distribution of the library. All sources, including code samples that demonstrate the use of the library, are located under this directory. For information about the latest updates to the client libraries for the Merchant Fulfillment API section, see "Client library updates" in the Merchant Fulfillment API section reference.

fulfillment amazon merchant library section reference operation information service code php fba shop integrate howto demonstration example api source sample lookup development


daemon/examples at master · takama/daemon · GitHub

https://github.com/takama/daemon/tree/master/examples

Saved by uncleflo on January 4th, 2019.

Go Daemon: A daemon package for use with Go (golang) services with no dependencies.

daemon administration development developer github design architecture structure code example learn howto linux unix


Linux Daemon Writing HOWTO

http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html

Saved by uncleflo on January 4th, 2019.

A daemon (or service) is a background process that is designed to run autonomously,with little or not user intervention. The Apache web server http daemon (httpd) is one such example of a daemon. It waits in the background listening on specific ports, and serves up pages or processes scripts, based on the type of request. Creating a daemon in Linux uses a specific set of rules in a given order. Knowing how they work will help you understand how daemons operate in userland Linux, but can operate with calls to the kernel also. In fact, a few daemons interface with kernel modules that work with hardware devices, such as external controller boards, printers,and PDAs. They are one of the fundamental building blocks in Linux that give it incredible flexibility and power. Throughout this HOWTO, a very simple daemon will be built in C. As we go along, more code will be added, showing the proper order of execution required to get a daemon up and running.

daemon forking portability fork kernel terminate compile coding directory multitude files execution loop setup check apache logging skeleton methodology structured code function technical development howto application design architecture


users - How do daemons work? - Unix & Linux Stack Exchange

https://unix.stackexchange.com/questions/108502/how-do-daemons-work

Saved by uncleflo on January 4th, 2019.

If a user wants to execute a command, he has to first log in into a system. But some users in the system have /bin/false or /sbin/nologin set as a default shell in the /etc/password file. If I change /bin/bash to /bin/false in case of my user, I won't be able to log in into the system, so I also won't be able to run commands. But the shellless users do it anyway: How can a user without a shell execute a command? In POSIX, every running process has three User IDs (UIDs) associated with it; the real UID, which identifies the user who launched the process, the effective UID, which is used to determine what resources the process can access, and the saved Set-User-ID (SUID), which is the effective UID the process had when it started (at the point of the last exec() call). Of these, the effective UID is the most significant, since it is the one used when determining access control decisions regarding the process.

privileged unix unprivileged stack bash answers acknowledge user execute privilege answer effective privacy processes default exchange daemon administration developer development code server linux


2 Sentiment analysis with tidy data | Text Mining with R

https://www.tidytextmining.com/sentiment.html

Saved by uncleflo on December 23rd, 2018.

In the previous chapter, we explored in depth what we mean by the tidy text format and showed how this format can be used to approach questions about word frequency. This allowed us to analyze which words are used most frequently in documents and to compare documents, but now let’s investigate a different topic. Let’s address the topic of opinion mining or sentiment analysis. When human readers approach a text, we use our understanding of the emotional intent of words to infer whether a section of text is positive or negative, or perhaps characterized by some other more nuanced emotion like surprise or disgust. We can use the tools of text mining to approach the emotional content of text programmatically, as shown in Figure 2.1.

tidy sentiment normalize toolbox sentiments analyze calculate words analysis development code ruby developer howto technical book demonstration frequency lingual language emotional approach investigate compare keyword useful web


Term Frequency and Inverse Document Frequency (tf-idf) Using Tidy Data Principles

https://cran.r-project.org/web/packages/tidytext/vignettes/tf_idf.html

Saved by uncleflo on December 23rd, 2018.

A central question in text mining and natural language processing is how to quantify what a document is about. Can we do this by looking at the words that make up the document? One measure of how important a word may be is its term frequency (tf), how frequently a word occurs in a document. There are words in a document, however, that occur many times but may not be important; in English, these are probably words like “the”, “is”, “of”, and so forth. We might take the approach of adding words like these to a list of stop words and removing them before analysis, but it is possible that some of these words might be more important in some documents than others. A list of stop words is not a sophisticated approach to adjusting term frequency for commonly used words. Another approach is to look at a term’s inverse document frequency (idf), which decreases the weight for commonly used words and increases the weight for words that are not used very much in a collection of documents. This can be combined with term frequency to calculate a term’s tf-idf, the frequency of a term adjusted for how rarely it is used. It is intended to measure how important a word is to a document in a collection (or corpus) of documents. It is a rule-of-thumb or heuristic quantity; while it has proved useful in text mining, search engines, etc., its theoretical foundations are considered less than firm by information theory experts.

quantify tidy calculate corpus document words frequency calculating verbs numerical examine occur text weight quantity approach mining collection keyword tag analyse development howto data principle useful technical analysis developer code explanation article


dgrtwo/tidy-text-mining - Github

https://github.com/dgrtwo/tidy-text-mining/blob/master/README.md

Saved by uncleflo on December 23rd, 2018.

This is the repo for the book Text Mining with R: A Tidy Approach, by Julia Silge and David Robinson. Please note that this work is written under a Contributor Code of Conduct and released under a CC-BY-NC-SA license. By participating in this project (for example, by submitting a pull request with suggestions or edits) you agree to abide by its terms.

code mining details perform text approach software review example project book github release development administration algorithm


The FEniCS computing platform

https://fenicsproject.org/

Saved by uncleflo on October 26th, 2018.

FEniCS is a popular open-source (LGPLv3) computing platform for solving partial differential equations (PDEs). FEniCS enables users to quickly translate scientific models into efficient finite element code. With the high-level Python and C++ interfaces to FEniCS, it is easy to get started, but FEniCS offers also powerful capabilities for more experienced programmers. FEniCS runs on a multitude of platforms ranging from laptops to high-performance clusters.

popular opensource open compute platform solve differential equation translate scientific model science element code interface powerful capability experience program laptop performance cluster project development server administration


Intro to UTM Parameters and Best Practices

http://blog.rafflecopter.com/2014/04/utm-parameters-best-practices/

Saved by uncleflo on October 23rd, 2018.

Do you know exactly where your site traffic comes from? Or which of your campaigns drives the most traffic? If not, read on ;) This post is for website owners who use Google Analytics but want more insight into where their traffic is coming from. Maybe you know how much traffic you’re getting from Twitter, but do you know what percentage of this traffic comes from your Tweets? You can get this data by using Custom Campaigns and adding special tags to your URLs; these tags are called UTM parameters — they are crucial for a deeper understanding of your traffic.

campaign metrics data traffic website owner google analytic url parameter understand insight development integrate code explanation administration digital marketing


GitHub - Robot Operating System (ROS)

https://github.com/ros/ros

Saved by uncleflo on June 29th, 2018.

Core ROS packages http://www.ros.org ROS is a meta-operating system for your robot. It provides language-independent and network-transparent communication for a distributed robot control system.

robot operating system os communication distributed control system language independent network package github code development administration


A successful Git branching model

https://nvie.com/posts/a-successful-git-branching-model/

Saved by uncleflo on June 29th, 2018.

In this post I present the development model that I’ve introduced for some of my projects (both at work and private) about a year ago, and which has turned out to be very successful. I’ve been meaning to write about it for a while now, but I’ve never really found the time to do so thoroughly, until now. I won’t talk about any of the projects’ details, merely about the branching strategy and release management.

git version manage howto introduce work private success strategy time project detail branch model repository code development administration present post


How to use MySQL to search in php serialized fields

http://blastar.biz/2013/11/28/how-to-use-mysql-to-search-in-php-serialized-fields/

Saved by uncleflo on June 22nd, 2018.

Well, first rule – you should not do this. But if there is good reason, consider using such query for searching in index-based arrays: SELECT * FROM table WHERE your_field_here REGEXP '.*;s:[0-9]+:"your_value_here".*' In case you have assoc array serialized you can use: SELECT * FROM table WHERE your_field_here REGEXP '.*"array_key_here";s:[0-9]+:"your_value_here".*' Of course it won’t be very fast but in small tables should be enough

rule index mysql search query array regex fast table associate serialized reason field php database stored solution development code sql


Github - yui / yuicompressor - YUI Compressor - The Yahoo! JavaScript and CSS Compressor

https://github.com/yui/yuicompressor/tree/master/src/org/mozilla/javascript

Saved by uncleflo on June 1st, 2018.

The YUI Compressor is a JavaScript compressor which, in addition to removing comments and white-spaces, obfuscates local variables using the smallest possible variable name. This obfuscation is safe, even when using constructs such as 'eval' or 'with' (although the compression is not optimal in those cases) Compared to jsmin, the average savings is around 20%. The YUI Compressor is also able to safely compress CSS files. The decision on which compressor is being used is made on the file extension (js or css)

yahoo compressor javascript js remove comment minify compress css commercial recommended development code administration


Google Developers - Closure Compiler

https://developers.google.com/closure/compiler/

Saved by uncleflo on June 1st, 2018.

The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

google compiler javascript js compile opensource language analyse remove code rewrite minimize syntax reference


Jenkins and PHP

https://jenkins.io/solutions/php/

Saved by uncleflo on May 9th, 2018.

Most web applications are changed and adapted quite frequently and quickly. Their environment, for example the size and the behaviour of the user base, are constantly changing. What was sufficient yesterday can be insufficient today. Especially in a web environment it is important to monitor and continuously improve the internal quality not only when developing, but also when maintaining the software. Many of the plugins referenced (right) can be used to integrate with PHP projects, but may first need to be configured the create appropriately formatted files when working with PHP projects.

web application howto change adapt quick environment example developer administration administrator php project configure reference maintain software continuous delivery deliver code internal quality user base integrate setup description article


Fiddle to experiment with browser element offsets/sizes

http://jsfiddle.net/y8Y32/25/

Saved by uncleflo on May 9th, 2018.

Note how the browser reserves some space to the right of this paragraph, just enough to fit a scrollbar. This happens even though there is a decent amount of padding-right.

development code fiddle js jquery padding browser scroll javascript preview realtime tool margin element experiment crossbrowser compatible size position


You Might Not Need jQuery

http://youmightnotneedjquery.com/

Saved by uncleflo on May 9th, 2018.

jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application. If you're developing a library on the other hand, please take a moment to consider if you actually need jQuery as a dependency. Maybe you can include a few lines of utility code, and forgo the requirement. If you're only targeting more modern browsers, you might not need anything more than what the browser ships with. At the very least, make sure you know what jQuery is doing for you, and what it's not. Some developers believe that jQuery is protecting us from a great demon of browser incompatibility when, in truth, post-IE8, browsers are pretty easy to deal with on their own.

jquery why reason javascript howto alternative development code browser library bandwidth dependency incompatible utility requirement advice server application speed execution


Stackoverflow - offsetTop vs. jQuery.offset().top

https://stackoverflow.com/questions/6777506/offsettop-vs-jquery-offset-top

Saved by uncleflo on May 9th, 2018.

I have read that offsetLeft and offsetTop do not work properly in all browsers. jQuery.offset() is supposed to provide an abstraction for this to provide the correct value xbrowser. What I am trying to do is get the coordinates of where an element was clicked relative to the top-left of the element. Problem is that jQuery.offset().top is actually giving me a decimal value in FFX 3.6 (in IE and Chrome, the two values match). http://jsfiddle.net/htCPp/ exhibits the issue. If you click the bottom image, jQuery.offset().top returns 327.5, but offsetTop returns 328. I would like to think that offset() is returning the correct value and I should use it because it will work across browsers. However, people obviously cannot click decimals of pixels. Is the proper way to determine the true offset to Math.Round() the offset that jQuery is returning? Should I use offsetTop instead, or some other method entirely?

offset top left position development code abstract browser coordinate element jquery js javascript pixel chrome ie firefox crossbrowser stackoverflow problem solution


Stackoverflow: How to write a:hover in inline CSS?

https://stackoverflow.com/questions/1033156/how-to-write-ahover-in-inline-css

Saved by uncleflo on May 5th, 2018.

Stackoverflow Question: I have a case where I must write inline CSS code, and I want to apply a hover style on an anchor. How can I use a:hover in inline CSS inside the HTML style attribute? E.g. you can't reliably use CSS classes in HTML emails. The answer has lots and lots of varying solutions.

stackoverflow question css class html solution code development hover inline answer community tip howto technical reference list


How to adjust an iframe element’s height to fit its content

http://www.456bereastreet.com/archive/201112/how_to_adjust_an_iframe_elements_height_to_fit_its_content/

Saved by uncleflo on April 20th, 2018.

In an ideal world there would always be a clean way of displaying data supplied by a third party on your site. Two examples would be getting the data in JSON or XML format from a Web Service and having an API to code against. But you don’t always have any of those options. Sometimes the only way of incorporating data from a third party is by loading it in an iframe element. A few examples are financial reports, e-commerce applications, and ticket booking applications. Using an iframe is not ideal for many reasons, one of which is that it can make multiple sets of scrollbars appear on the page. Not only does it look ugly, it also makes the site less user-friendly. But there is a workaround.

display website iframe scrollbar howto code development js javascript content fit adjust element


VividCortex - Application performance starts with your database

https://www.vividcortex.com/

Saved by uncleflo on April 18th, 2018.

Most app performance issues originate in the database, but engineering teams lack visibility into the data tier. VividCortex provides unique insights into database workload and query performance, enabling faster issue resolution. The result is better application performance, reliability, and uptime. This ebook will help you understand key questions that you should pose about your database—and it will show you exactly how you can answer them, quickly and safely, with VividCortex.

performance development engineering team database db test optimization overview analysis question code query sql


MySQL LOCK TABLES and UNLOCK TABLES Syntax

https://dev.mysql.com/doc/refman/5.7/en/lock-tables.html

Saved by uncleflo on April 18th, 2018.

MySQL enables client sessions to acquire table locks explicitly for the purpose of cooperating with other sessions for access to tables, or to prevent other sessions from modifying tables during periods when a session requires exclusive access to them. A session can acquire or release locks only for itself. One session cannot acquire locks for another session or release locks held by another session. Locks may be used to emulate transactions or to get more speed when updating tables. This is explained in more detail later in this section. LOCK TABLES explicitly acquires table locks for the current client session. Table locks can be acquired for base tables or views. You must have the LOCK TABLES privilege, and the SELECT privilege for each object to be locked.

lock unlock lock mechanism sql mysql database db development administration howto release data table code deadlock solution description reference documentation


Class patterns

https://javascript.info/class-patterns

Saved by uncleflo on April 8th, 2018.

There’s a special syntax construct and a keyword class in JavaScript. But before studying it, we should consider that the term “class” comes from the theory of object-oriented programming. The definition is cited above, and it’s language-independent. In JavaScript there are several well-known programming patterns to make classes even without using the class keyword. And here we’ll talk about them first. The class construct will be described in the next chapter, but in JavaScript it’s a “syntax sugar” and an extension of one of the patterns that we’ll study here.

syntax class oop programming development howto tutorial example reference code object instance pattern discussion article learn course js javascript