Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 SOFTWARE


  How to Create Custom Textures using Filters & Layers?

Textures are an important and integral part of the design world. You would find textures in every nook and corner of your life, in every space across your home.For a long time people have looked at Photoshop as a tool to manipulate photos and make them look the way you want it to appear. But, that’s not all to Photoshop. You can create interesting textures, and create amazing design works using Photoshop too. All you need is a design hand, and some basic understanding of how to use it. Here we will give you intended tips and tricks on how to create custom textures using Photoshop. This w...

3,758 0       PHOTOSHOP


  How to prevent next HeartBleed bug?

How to ensure the security of open source projects is a concern for many open source users including individual users and companies. But it's not an easy task to ensure the security of open source projects.Because everyone can see the source code, there is much higher possibility that a bug may be found by someone. Once a bug is disclosed, people may exploit it and do evil things, this may cause loss of money either for individuals or companies, some of the bugs may even have big impact to the whole industry. For example, the recent HeartBleed bug in OpenSSL.Also since many of the open source ...

4,746 0       SECURITY OPEN SOURCE HEARTBLEED


  Capture video stream with WebRTC

WebRTC(Web Real-Time Communication) is an API supporting real time audio and video communication through a browser. It is now a recommended W3C standard. This post is to show you how to capture video stream and screenshot with WebRTC.Capture video streamTo play video stream from the video camera, we first need to put a video tag in our code:<video id="video"></video>The main function to get the video stream is the navigator.getUserMedia, as of now only few of the browsers support this, you can check the browser support for this on caniuse.com. This API is well supported by Chrome a...

9,661 0       SCREENSHOT VIDEO WEBRTC


  Fuzzy search algorithm in Sublime Text

Fuzzy string searching is the technique of finding strings that match a pattern approximately (rather than exactly. In many editors, we can easily find the Find menu item to do exact matching. While in Sublime Text and some other editors, we can use fuzzy string searching as well if we just want to have an approximate match.There is some algorithm implemented in Sublime Text to implement achieve this. First the search query is split into characters, join them with a regex wildcard, and then run the regex on your set of strings.stringsToSearch.forEach(function(string) { if (RegExp(string.spl...

6,782 2       SUBLIME TEXT FUZZY SEARCH


  Command line todo list manager-- Taskwarrior

What is Taskwarrior?Taskwarrior is a task management tool in a terminal environment, it has powerful functions. Here is a short description about it from its official website:It maintains a task list, allowing you to add/remove, and otherwise manipulate your tasks. Task has a rich set of subcommands that allow you to do sophisticated things. You'll find it has customizable reports, charts, GTD features, device synching, documentation, extensions, themes, holiday files and much more.InstallationUbuntusudo apt-get install taskMac with brewbrew install taskUsageAdd a new taskIt's easy to add a ne...

6,773 0       TASKWARRIOR TASK MANAGEMENT


  Code coverage rate

When doing unit testing, the code coverage rate is often used as the criteria for measuring testing performance, even in some cases code coverage may be used to consider whether the testing task is completed or not. So testers need to spend much time on designing test cases which can cover as many codes as possible. There are advantages and disadvantages about using code coverage rate.First let's check what is code coverage rate:code coverage rate= the degree of code coverage in testing.There are some ways to measure the degree of code coverage. Here we introduce some common used ways:1. State...

2,968 0       UNIT TESTING CODE COVERAGE


  Frequently used Git commands

Git configurationgit config --global user.name "robbin" git config --global user.email "fankai@gmail.com"git config --global color.ui truegit config --global alias.co checkoutgit config --global alias.ci commitgit config --global alias.st statusgit config --global alias.br branchgit config --global core.editor "mate -w" # Configure Editor to use textmategit config -l #List all configurationsUser's git configuration file : ~/.gitconfigFrequently used Git commandsCheck、add、push、delete、find,reset filegit help # Show help of commandgit show # Show th...

6,277 0       COMMAND GIT


  What should video website do besides buying copyright?

Several major video sites in China seem to be designed by the same team, they look the same from the main interface to advertising scheme. The question is whether video sites really do not need to improve their products and user experience in addition to smashing the money to buy the copyright to attract users, is there no other choice? After reading this article, perhaps we can somehow have different views.The Web 2.0 era's video siteIn Web 1.0 era, the main way for users to obtain information is to go to some major news portals to find yourself the information you are interested in. But in W...

3,652 0       USER EXPERIENCE VIDEO SITE COPYRIGHT